Releases: newville/wxmplot
Releases · newville/wxmplot
2025.1.6
- 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
- add
PlotPanel.get_config()method to get configuration (theme settings, sizes, line trace settings) as a dictionary andPlotPanel.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
2025.1.3
2025.1.2
- 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
stripchartexample uses color-coded y-axes
2025.1.1
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
- 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
- add support for multiple (up to 3) right-hand axes with different y-scales: right, right2, right3, allowing either
yaxesorside - 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
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
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_geneatorfunction and method towxmplot.interactive.PlotDisplayto 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 awx.Timerto 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