Skip to content

Releases: newville/wxmplot

2025.1.6

24 Nov 02:36

Choose a tag to compare

  • improved support for interactive use from Jupyter console
  • make sure to run wx mainloop in 'finish_wx_mainloop()' for interactive use, especially with Jupyter
  • add Jupyter/IPython examples
  • doc updates, especially for interactive use
  • add get/set_config() methods to interactive Plot window
  • better expose cursor_history for interactive Plot window
  • properly pass theme through PlotFrame
  • allow plot() to take 1 array, using it as y and setting x to be its index
  • improve how highlight/mask is shown on rgb image
  • re-color and delete text associated with the highlight area on images
  • better text (and optionally, index) for highlighted areas on images
  • saving contour and mask for highlighted areas
  • add get_highlight_color method to better select color for highlights on images
  • set default linewidth to None, get from current trace or fallback to 2
  • update pyproject, supported versions and dependencies, downloads badge

2025.1.5

20 Aug 19:14

Choose a tag to compare

  • add PlotPanel.get_config() method to get configuration (theme settings, sizes, line trace settings) as a dictionary and PlotPanel.set_config() to set using that dictionary as keyword/arguments.
  • add "Save" and "Load" configuration to PlotFrame, using these dictionaries saved to/loaded from yaml files.
  • some reordering of widget creation so that tab navigation of PlotConfigFrame works a bit more fluidly.
  • add and tweak scope mode example
  • avoid exceptions from get_suplotspec().get_position(fig) if there is no data, so that bounds are not yet reasonable.

2025.1.4

06 Jun 21:05

Choose a tag to compare

  • force UTF8 encoding for output files
  • add separate logscales for y, y2, y3, y4 axes

2025.1.3

04 Mar 04:32

Choose a tag to compare

fix typo in 2025.1.2

2025.1.2

03 Mar 21:10

Choose a tag to compare

  • slightly faster loading of plot config frame
  • better support for "dark mode", at least on macOS. Other systems are "work in progress".
  • add ImagePanel.clear_highlight_areas method
  • more tweaks to date-formatting strings
  • stripchart example uses color-coded y-axes

2025.1.1

24 Jan 20:55

Choose a tag to compare

fixes mostly related to date/time data:

  • update timedata example
  • update stripchart example to show 2 yaxes and use mpl dates
  • use AutoDateLocator when using date data
  • add pytz dependency
  • fix use of timezone information for date plots
  • save/return added lines and markers
  • fix import tests

2025.1.0

20 Jan 03:27

Choose a tag to compare

  • change to versioning data, YYYY.minor.patch
  • update doc and some examples
  • a better-size color map for ImageFrame
  • add plotpanel.add_vline, .add_hline, add_marker methods, including with report data
  • add marker_report_data option for showing info about single markers and h/v lines
  • add example with 'reportable data' for horizontal/vertical lines and makers
  • add set_xtick_labels() and set_ytick_labels() methods to set tick labels as for discrete data
  • add example with discrete data
  • better fill-between in steps-xxx mode
  • tweak intervals for time formatting
  • better support for date-strings in statusbar for motion events

0.9.60

02 Dec 02:06

Choose a tag to compare

  • add support for multiple (up to 3) right-hand axes with different y-scales: right, right2, right3, allowing either yaxes orside
  • fix setting intensity thresholds on imageframe thresholds, and increase precision displayed.
  • update scope example
  • update github action script and versions in pyproject
  • use pyproject.toml without setup.cfg
  • use utils from pyshortcuts
  • use wxutils for more widgets

0.9.59

20 Aug 20:48

Choose a tag to compare

bug fixes:

  • better setting of absolute contrast levels
  • fix setting text colors for text on right-hand axes
  • fix toggle-ability of traces with legends for left/right plots
  • tweak text sizes
  • use GetDPIScaleFactor for drawing rubberband box when available (needed with recent matplotib)

0.9.58

13 Oct 17:12

Choose a tag to compare

New Features

  • image display frames add finer contrast level in the dropdown and [-] and [+] buttons to gently in/decrease contrast level
  • add wxmplot.interactive.set_data_geneator function and method to wxmplot.interactive.PlotDisplay to allow a user to specify a data-generating function that returns (or yields) a list of (x, y) pairs. This user-supplied function will be polled at a fixed rate with a wx.Timer to fetch the latest set of data for a plot window. This provides a simple way to have a live update of data.
  • labels on the colourselect dialogs are now more readable.
  • docs updated, including a new theme