You are reading an old version of the documentation (v3.2.2). For the latest version see
https://matplotlib.org/stable/
Version 3.2.2
Fork me on GitHub
Installation
Documentation
Examples
Tutorials
Contributing
Navigation
index
modules
|
next
|
previous
|
home
|
contents
»
API Overview
»
matplotlib.axis
»
matplotlib.axis.Axis.zoom
Related Topics
Documentation overview
API Overview
matplotlib.axis
Previous:
matplotlib.axis.Axis.pan
Next:
matplotlib.axis.YAxis.axis_name
Show Page Source
matplotlib.axis.Axis.zoom
¶
Axis.
zoom
(
self
,
direction
)
[source]
¶
Zoom in/out on axis; if
direction
is >0 zoom in, else zoom out.