Closed jhk0530 closed 3 years ago
Unfortunately I'll never be able to support Colab since it runs on a remote server and cannot run any realtime graphical frameworks like PyQt.
I'm working on adding a dark theme and will probably publish it in the next 2 weeks.
wow, thanks!
voting for dark theme +1 !
Just pushed the dark theme (and a matching light theme). Gonna leave this issue open until I'm done working on it since there are still some tweaks needed
awesome!
I wanted to override the titlebar color but turns out that's hard. Putting the solutions I've found below for reference. I only found one PyQt package but it breaks OS features like aero shake and aero snap which isn't a good tradeoff, so keeping the white titlebar for now.
PyQt https://github.com/gmarull/qtmodern (doesn't support aero snap) Qt https://github.com/melak47/BorderlessWindow https://github.com/Moussa-Ball/BorderlessWindowQt-Modern-Gui https://github.com/deimos1877/BorderlessWindow https://github.com/Jorgen-VikingGod/Qt-Frameless-Window-DarkStyle (doesn't support aero snap)
Just tried the theme capability but am getting an issue with the preferences json file not existing.
I did a fresh install of the pandasgui develop branch from github this morning. My environment is Python 3.7 installed via Anaconda:
OS: Win10, Python 3.7.3, IPython 7.19.0, PyQt 5.9.2, PyQt5 5.15, pyqt5-sip 12.8.1, pyqtwebengine 5.15.1
When I from pandasgui import show I get:
~\AppData\Local\Continuum\anaconda3\lib\site-packages\pandasgui\store.py in
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\username\AppData\Local\pandasgui\preferences.json'
Just tried the theme capability but am getting an issue with the preferences json file not existing. I did a fresh install of the pandasgui develop branch from github this morning. My environment is Python 3.7 installed via Anaconda: OS: Win10, Python 3.7.3, IPython 7.19.0, PyQt 5.9.2, PyQt5 5.15, pyqt5-sip 12.8.1, pyqtwebengine 5.15.1 When I from pandasgui import show I get: ~\AppData\Local\Continuum\anaconda3\lib\site-packages\pandasgui\store.py in 22 preferences_path = os.path.join(LOCAL_DATA_DIR, 'preferences.json') 23 if not os.path.exists(preferences_path): ---> 24 with open(preferences_path, 'w') as f: 25 json.dump({'theme': "light"}, f) 26
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\username\AppData\Local\pandasgui\preferences.json'
Just added a line to create that dir if it doesn't exist, can you check if it works now
That fixed it.
EDIT: sorry, I just had to restart after I installed pandasgui from git and saw the "Set theme" option on the bar. :-/ Apologies for spamming
Hi,
Thanks a lot for this tool, it's really of great help.
I have tried 0.2.7 (I tried both installing it by pip and installing via git) and I don't seen any option to set the theme. Am I missing something?
Hi, thanks for your awesome work. I love it
I didn't use every features of
pandasgui
yet. but i'll try. And maybe I expect myself to write very basic tutorial for my students.but there's few suggestion for this project.
Here are my environments
python
version 3.8.3pandasgui
version 0.2.7pandas
version 1.1.2thanks again.