backend_qt4agg.py 292 B

123456789101112
  1. """
  2. Render to qt from agg
  3. """
  4. from .backend_qt5agg import (
  5. _BackendQT5Agg, FigureCanvasQTAgg, FigureManagerQT, NavigationToolbar2QT)
  6. @_BackendQT5Agg.export
  7. class _BackendQT4Agg(_BackendQT5Agg):
  8. class FigureCanvas(FigureCanvasQTAgg):
  9. required_interactive_framework = "qt4"