adamerose / PandasGUI

A GUI for Pandas DataFrames
MIT No Attribution
3.15k stars 226 forks source link

[Bug Report]: Gui Is Larger Than Physical Screen When DataFrames Are Loaded #224

Open lexi-the-cute opened 1 year ago

lexi-the-cute commented 1 year ago

Describe the bug
When at least one dataframe is loaded, the minimum size of PandasGui is larger than my physical screen (width). I'm unable to shrink it even when not putting it into fullscreen

Environment OS: Linux laptop 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64 GNU/Linux Python: Python 3.9.2 IDE: vs-code

Package versions
TO GET ALL RELEVANT PACKAGE VERSIONS, RUN THIS COMMAND IN BASH AND PASTE THE OUTPUT pip freeze | grep -i "pyqt|pandasgui|plotly|ipython|jupyter|notebook"

EXAMPLE OUTPUT

ipython==8.12.0
pandasgui @ git+https://github.com/adamerose/pandasgui.git@e71a97c5809b4e31d878ae08f06cc0a1ea6dc88f
plotly==5.14.1
PyQt5==5.15.9
PyQt5-Qt5==5.15.2
PyQt5-sip==12.12.0
PyQtWebEngine==5.15.6
PyQtWebEngine-Qt5==5.15.2

Here's a screenshot to show what it looks like. Screenshot_20230410_231031

The code to load the dataframes looks like:

import pandasgui
# ...
dataframes: dict = get_dataframes(...)
pandasgui.show(**dataframes)

The dictionary is structured as:

{
  "dataframe_one": pd.DataFrame,
  "dataframe_two": pd.DataFrame,
  "dataframe_three": pd.DataFrame,
  # ...
}
slavanorm commented 1 year ago

226 could be related issue fixing this