Logo Search packages:      
Sourcecode: mascyma version File versions  Download package

__init__.py

import matplotlib

backend = matplotlib.get_backend()
if backend=='Template':
    from backend_template import AxisText, Figure, FigureManager, \
         error_msg, draw_if_interactive, show, _process_text_args,\
         new_figure_manager
elif backend=='GTK':
    from backend_gtk import AxisText, Figure, FigureManager,\
         error_msg, draw_if_interactive, show, _process_text_args,\
         new_figure_manager
elif backend=='PS':
    from backend_ps import AxisText, Figure, FigureManager, \
         error_msg, draw_if_interactive, show, _process_text_args,\
         new_figure_manager
elif backend=='GD':
    from backend_gd import AxisText, Figure, FigureManager, \
         error_msg, draw_if_interactive, show, _process_text_args,\
         new_figure_manager
elif backend=='WX':
    from backend_wx import AxisText, Figure, FigureManager, Gcf, \
         error_msg, draw_if_interactive, show, _process_text_args, \
         new_figure_manager, Toolbar
else:
    raise ValueError, 'Unrecognized backend %s' % backend

Generated by  Doxygen 1.6.0   Back to index