Skip to main content

Version Downloads

wxmplot provides advanced wxPython_ widgets for plotting and image display of numerical data based on matplotlib. While matplotlib provides excellent general purpose plotting functionality and supports many GUI and non-GUI backends it does not have a very tight integration with any particular GUI toolkit. With a large number of plotting components and options, it is not easy for programmers to select plotting options for every stuation and not easy for end users to manipulate matplotlib_ plots. Similarly, while wxPython_ has some plotting functionality, it has nothing as good or complete as matplotlib_. The wxmplot package attempts to bridge that gap. With the plotting and image display Panels and Frames from wxmplot, programmers are able to provide plotting widgets that make it easy for end users to customize plots and interact with their data.

WXMplot provides wx.Panels for basic 2D line plots and image display that are richly featured and provide end-users with interactivity (zooming, reading positions, rotating images) and customization (line types, labels, marker type, colors, and color tables) of the graphics without having to know matplotlib. wxmplot does not expose all of matplotlib's capabilities, but does provide 2D plotting and image display Panels and Frames that are easy to add to wxPython applications to handle many common plotting and image display needs.

The wxmplot package is aimed at programmers who want to include high quality scientific graphics in their applications that can be manipulated by the end-user. If you're a python programmer who is comfortable writing complex pyplot scripts or plotting interactively from IPython, this package may seem too limiting for your needs. On the other hand, wxmplot provides more and and better customizations than matplotlib's basic navigation toolbars.

The main widigets provided by wxmplot are:

  PlotPanel: wx.Panel for basic 2-D line plots (roughly matplotlib `plot`)

  PlotFrame: wx.Frame containing a PlotPanel

  ImagePanel: wx.Panel for image display (roughly matplotlib `imshow`)

  ImageFrame: wx.Frame containing ImagePanel

2D Line plotting with PlotPanel /PlotFrame

PlotPanel and PlotFrame give the end-user the ability to:

  1. display x, y coordinates (left-click)
  2. zoom in on a particular region of the plot (left-drag)
  3. customize titles, labels, legend, color, linestyle, marker, and whether a grid is shown. A separate configuration frame is used to set these attributes.
  4. save high-qualiy plot images (as PNGs), copy to system clipboard, or print.

For the programmer, these provide simple plotting methods:

plot(x,y): start a new plot, and plot data x,y

Some of the optional arguments (all keyword/values) include

  color='Blue'       for any X11 color name, (rgb) tuple, or '#RRGGBB'
  style='solid'      'solid,'dashed','dotted','dot-dash'
  linewidth=2      integer 0 (no line) to 10
  marker='None'  any of a wide range of marker symbols
  markersize=8    integer 0 to 30
  xlabel=' '           label for X axis
  ylabel=' '           label for Y axis
  title=' '              title for top of PlotFrame
  grid=True         boolean for whether to show grid.

oplot(x,y): plot data x,y, on same plot as current data

 with optional arguments as plot()

clear(): clear plot

save_figure(): bring up file dialog for saving image of figure

Image Display with ImagePanel and ImageFrame

This displays a numpy array as an greyscale or false color image. The end user can zoom in, rotate, or flip the image, and adjust the smoothing of the image and adjust the color table and intensity scale.

Programmatically, one can make the same adjustments to an ImagePanel by changing its configuaration attributes and running the redraw() method.

=====

last update: 2018-Oct-13 Matthew Newville newville@cars.uchicago.edu

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wxmplot-2026.2.3.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wxmplot-2026.2.3-py3-none-any.whl (119.4 kB view details)

Uploaded Python 3

File details

Details for the file wxmplot-2026.2.3.tar.gz.

File metadata

  • Download URL: wxmplot-2026.2.3.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.15

File hashes

Hashes for wxmplot-2026.2.3.tar.gz
Algorithm Hash digest
SHA256 9f3590bcaa74fb6bfba33bfacd8064291f8c250326ca33ff244481ef63e6f9f7
MD5 ebea5eb1c8642631aa5a54ae7745116e
BLAKE2b-256 bd83e2afb165389b3b7826faeedca3192264f22745336e77126cfb3d3fa319e9

See more details on using hashes here.

File details

Details for the file wxmplot-2026.2.3-py3-none-any.whl.

File metadata

  • Download URL: wxmplot-2026.2.3-py3-none-any.whl
  • Upload date:
  • Size: 119.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.15

File hashes

Hashes for wxmplot-2026.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6607f947bd687103cd3fffb4cb42e5e973394e0a4d67fb216d78be63c9c34f0d
MD5 7e0723997c8002183d461a1b0b40b3a1
BLAKE2b-256 980ad442c13d18340b454210695b7c0cf77d794d1546c89fddfc31ab5162dad0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2026.2.3 This release

2 files

2026.2.2

2 files

2026.2.1

2 files

2026.2.0

2 files

2026.1.0

2 files

2025.1.6

2 files

2025.1.5

2 files

2025.1.4

2 files

2025.1.3

2 files

2025.1.2

2 files

2025.1.1

2 files

2025.1.0

2 files

0.9.60

2 files

0.9.59

2 files

0.9.58

2 files

0.9.57

2 files

0.9.56

2 files

0.9.55

2 files

0.9.54

2 files

0.9.53

2 files

0.9.52

2 files

0.9.51

2 files

0.9.50

1 file

0.9.49

2 files

0.9.48

2 files

0.9.47

1 file

0.9.46

1 file

0.9.45

1 file

0.9.44

1 file

0.9.43

1 file

0.9.42

1 file

0.9.41

1 file

0.9.40

1 file

0.9.39

1 file

0.9.38

1 file

0.9.37

1 file

0.9.36

1 file

0.9.35

1 file

0.9.34

1 file

0.9.33

1 file

0.9.32

1 file

0.9.31

1 file

0.9.30

1 file

0.9.29

1 file

0.9.28

1 file

0.9.27

1 file

0.9.26

1 file

0.9.25

1 file

0.9.24

1 file

0.9.23

1 file

0.9.22

1 file

0.9.21

1 file

0.9.20

1 file

0.9.18

1 file

0.9.17

0.9.14

2 files

0.9.12

4 files

0.9.11

5 files

0.9.10

3 files

0.9.7

2 files

0.9.6

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page