Skip to content

Yves33/FlexPanZoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FlexPanZoom

A alternate (flexible) pan zoom system for matplotlib axis.

1 - Features:

  • drag x/y axis to pan
  • mouse wheel in x/y axis to zoom in / zoom out
  • right click on x/y axis to display popup for zoom in / zoom out
  • right click in main area to zoom on rectangular region
  • support for iconfonts

2 - Restrictions:

  • cartesian axes only (zoom on polar axes)
  • no support for log scale

3 - Usage:

import matplotlib.pyplot as plt
import numpy as np

fig = plt.figure()
plt.plot([0, 1, 3, 6, 7, 4, 2, 0])
panzoomer = PanZoomFactory(fig)
plt.show()

About

An (intuitive) Flexible Pan Zoom tool for matplotlib cartesian axes

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages