panel-graphic-walker icon indicating copy to clipboard operation
panel-graphic-walker copied to clipboard

Does not work with sizing_mode="stretch_both"

Open MarcSkovMadsen opened this issue 1 year ago • 1 comments

I'm on v0.1.0

It seems not to stretch its height

import pandas as pd
import panel as pn

from panel_gwalker import GraphicWalker

pn.extension(sizing_mode="stretch_width")

LOGO = "https://kanaries.net/_next/static/media/kanaries-logo.0a9eb041.png"

df = pd.read_csv(
    "https://datasets.holoviz.org/windturbines/v1/windturbines.csv.gz", nrows=10000
)

walker = GraphicWalker(df, sizing_mode="stretch_both", styles={"border": "1px solid yellow"})

pn.template.FastListTemplate(
    logo=LOGO,
    title="Panel Graphic Walker",
    main=[walker],
    main_layout=None,
).servable()

image

MarcSkovMadsen avatar Oct 26 '24 06:10 MarcSkovMadsen

Needs to be fixed in graphic-walker. See https://github.com/Kanaries/graphic-walker/issues/421 and https://github.com/Kanaries/pygwalker/issues/645.

MarcSkovMadsen avatar Nov 09 '24 05:11 MarcSkovMadsen