Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

justify in pn.pane.DataFrame does not work #7508

Open
mflova opened this issue Nov 20, 2024 · 0 comments
Open

justify in pn.pane.DataFrame does not work #7508

mflova opened this issue Nov 20, 2024 · 0 comments

Comments

@mflova
Copy link

mflova commented Nov 20, 2024

ALL software version info

(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc should be added within the dropdown below.)

Software Version Info
panel==1.5.4 
bokeh==3.6.1
holoviews==1.20.0
hvplot==0.11.1
python==3.10.11
os==windows10

Description of expected behavior and the observed behavior

No matter how I set justify, column labels do not change. This is happening in boh notebooks and navigators.

Complete, minimal, self-contained example code that reproduces the issue

import pandas as pd
import panel as pn

df = pd.DataFrame({"A": [100000000000000000,2,3], "B": [2,3,4]})
pn.pane.DataFrame(df, justify="left")  # Here I would expect "A" and "B" appear at the left margin within its column space

Screenshots or screencasts of the bug in action

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant