WXMPLOT: plotting widgets for Python¶

wxmplot provides high-level, interactive plotting of scientific data for Python, combining wxPython and matplotlib.

_images/wxmplot_composite.png

matplotlib provides excellent general-purpose plotting functionality. While it supports many backends, it does not have tight integration with any particular GUI toolkit. And while the matplotlib.pyplot module provides easy-to-use, high-level functions for plotting and displaying data, it has minimal interactivity and ability to customize plots after they are mde.

wxmplot combines matplotlib and wxPython to provide graphical elements (wxPython widgets) and user-friendly, interactive functions for basic line plots, image display, and some custom plots such as histograms and scatter plots. The displays made with wxmplot give end-users interactive displays of their data that allow zooming and un-zooming, reporting mouse positions, rotating images, and changing color themes. The displays are highly configurable, helping the user to change many aspects of the plot such as colors, line types, labels, marker type, color tables, smoothing. While wxmplot does not expose all of matplotlib’s capabilities, it handles many of the most common plotting and image display needs for scientific data, and makes these highly interactive. It also permits access and to the underlying matplotlib API for those that need it.

The functions in wxmplot.interactive are particularly easy to use, and enable script writers to make XY line plots and image displays from their data, and to interact with and configure these displays as part of exploratory data analysis. Programmers can use the wxmplot widgets to include these high quality graphical displays of data in their wxPython applications to enable users to explore their data.