Awais Mirza
Awais Mirza

Reputation: 107

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.

Upvotes: 8

Views: 3989

Answers (1)

Carlos Cordoba
Carlos Cordoba

Reputation: 34156

(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:

Plots options menu

Upvotes: 9

Related Questions