This changelog follows the specifications detailed in: Keep a Changelog.
This project adheres to Semantic Versioning, although we have not yet reached a 1.0.0 release.
- Fixed
ffmpeg_animate_framesto handle paths and ndarrays
- Add Palette class
- Add relabel argument to FigureManager to automatically relabel on finalize
- Add
draw_polyline
- Improved adjust gui
util_seabornwith helpers and workarounds
- Issue in adjust gui
- Experimental support for PyQt6 in autompl
- Suppress headless error on BackendContext by default. The strict argument allows the user to get old behavior.
- Added
kwplot.pyplotandkwplot.seabornas referenced in the documentation.
- Added
corner_conventionargument tokwplot.imshow - New submodule
kwplot.managerswith code ported fromgeowatch.utils.util_kwplot - New submodule
kwplot.tableswith code ported fromgeowatch.utils.util_kwplot - Add other functions from
geowatch.utils.util_kwplotto existing modules - Add
kwplot.LabelManager.force_integer_ticks()
kwplot.imshownow returns a NamedTuple with fig and ax as named alternatives to tuple indexes.- Enabled colab
kwplot.automplworkaround (needs a test)
- Drop 3.6 and 3.7 support
- Experimental adjust-gui for normalization adjustments
- Add
plot_points3d - Experimental top-level lazy attributes
pltandsns, which call autoplt and autosns when invoked for the first time. - New Modal CLI
- Minor issue in
plot_surface3d
- Tweaks to phantom legend
- Misc changes
- Gifify script
- Fixed close figures with agg.
- Add
kwplot.close_figuresandkwplot.all_figures.
- Replaced deprecated pylab magic with matplotlib magic when in IPython.
- Add
show_ticks=Falsekeyword argument toimshow - Add
phantom_legendfunction - Exposed
render_figure_to_imagefunction - Added
__main__script to show a normalized image.
kwplot.autosnsfor auto seaborn convenience.
- Fixed potential crash in autompl on some systems with conflicting PyQt5 and python-opencv libraries. This involves falling back to agg if there might be a conflict. The environ KWPLOT_UNSAFE=1 can be set to use the old behavior
-
Added "force" kwarg to autompl, which will change the backend and prevent future non-force autompl calls from changing the backend.
-
BackendContext - a context manager for matplotlib backends. Primary purpose is to allow the user to ensure that the agg backend is used in certain places.
-
mpl_draw.draw_points- draws 2d points
- Bugs in
plot_matrix
- Moved implementation of non-matplotlib drawing function to kwimage. This lets kwimage be independent of kwplot. These functions are still exposed in kwplot for backwards compatibility. This may change in the future.
- Starting a changelog
- Tweaking build scripts and CI configurations.
- Minor improvements to
multi_plot Colorno longer directly depends onmatplotlib, might be ported tokwimagein the future.
- Changes at and before this version are undocumented