简体   繁体   中英

How to enable zoom in/out and zoom to percentage buttons in Plots pane in Spyder?

The zoom in , zoom out and zoom to percentage buttons are disabled in Plots pane in Spyder as shown here . Any idea how to enable them?

The should be enabled as seen here .

Specs

Spyder version: 4.0.0
OS: elementary OS
Python: 3.7.5 64-bit
Kernel: Linux 5.4.7-050407-generic
Laptop: Thinkpad E585

Failed attempts

Following changes in preferences didn't help:
1. Changing Backend from inline to automatic .
2. Changing Format from png to svg .
3. Changing Resolution from 72 to 150 dpi.

( Spyder maintainer here ) To be able to use those buttons you need to deactivate the option called Fit plots to window , present in the Options menu of the Plots pane:

绘图选项菜单

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM