-
Notifications
You must be signed in to change notification settings - Fork 7
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
Toolbar missing when running on linux #24
Comments
Thanks for reporting! Might be caused by recent versions of tkinter and/or
matplotlib. Could you share your python and relevant package versions?
…On Wed, 30 Oct 2024, 20:48 Alexandre Francoeur, ***@***.***> wrote:
This isn't the first time I notice something wrong with the zoom and
scroll toolbar. On Windows, it shows behind the Windows 11 menu bar. On
Ubuntu Linux it simply doesn't show.
Screenshot.from.2024-10-30.15-46-02.png (view on web)
<https://github.com/user-attachments/assets/f10d5517-7699-40af-b336-99c1daf61bc4>
—
Reply to this email directly, view it on GitHub
<#24>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACSHBO4NE4BRTFVPDTCY4M3Z6EZZ3AVCNFSM6AAAAABQ435UTWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDKMJYGQYTCOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I think I found the issue. When the figsize is to large (20 by 10 inches by default) compared to your screen, the toolbar does not have enough space to get displayed. I added a parameter to the methods that open the GUI to control the initial plot size. This hsould be available as the latest release (2.6) in a couple of minutes. I also shipped a bunch of QoL improvements for the GUI: You can now use shortcuts (o, p, h, b, and f) to activate the matplib tools for zooming, panning, home, back, and forward. |
And this is while providing a smaller then default figure size? Could you
try setting the "fig size" parameter to something even smaller? Or does the
toolbar always disappear when you maximize the window?
…On Thu, 31 Oct 2024, 16:47 Alexandre Francoeur, ***@***.***> wrote:
I just tested the newest release v2.6.0. It's partially fixed.
Python 3.10.12
matplotlib 3.9.2
tkinter version:
libtk8.6/jammy,now 8.6.12-1build1 amd64 [installed,automatic]
python3-tk/jammy-updates,jammy-security,now 3.10.8-1~22.04 amd64 [installed]
tk8.6-blt2.5/jammy,now 2.5.3+dfsg-4.1build2 amd64 [installed,automatic]
On a screen with OS tool bar:
image.png (view on web)
<https://github.com/user-attachments/assets/566856c8-f75b-4770-8d8b-a6f5620a6406>
When used on my second screen with no toolbar it's working as expected:
image.png (view on web)
<https://github.com/user-attachments/assets/a4698a75-a4b3-4b5b-9c59-e105b1fe04bc>
On both screens if the window isn't scaled to the maximum size possible
the toolbar disappears.
image.png (view on web)
<https://github.com/user-attachments/assets/b5dfa70f-b248-4a7d-8407-1564bcaf0d6f>
Thanks for the QoL things like keyboard shortcuts, it really helps :)
—
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACSHBO77ECS45FBDDNKBMVTZ6JGKXAVCNFSM6AAAAABQ435UTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJQGIYTMNZRGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Could you solve your problem, by setting a smaller figsize? |
This isn't the first time I notice something wrong with the zoom and scroll toolbar. On Windows, it shows behind the Windows 11 menu bar. On Ubuntu Linux it simply doesn't show.
EDIT:
It actually shows when the window is in a screen where there's no menu bar displayed.
The text was updated successfully, but these errors were encountered: