- Update to 3.9.0
## Plotting and Annotation improvements
* Axes.inset_axes is no longer experimental
* Legend support for Boxplot
* Percent sign in pie labels auto-escaped with usetex=True
* hatch parameter for stackplot
* Add option to plot only one half of violin plot
* axhline and axhspan on polar axes
* Subplot titles can now be automatically aligned
* axisartist can now be used together with standard Formatters
* Toggle minorticks on Axis
* StrMethodFormatter now respects axes.unicode_minus
## Figure, Axes, and Legend Layout
* Subfigures now have controllable zorders
* Getters for xmargin, ymargin and zmargin
## Mathtext improvements
* mathtext documentation improvements
* mathtext spacing corrections
## Widget Improvements
* Check and Radio Button widgets support clearing
## 3D plotting improvements
* Setting 3D axis limits now set the limits exactly
## Other improvements
* New BackendRegistry for plotting backends
* Add widths, heights and angles setter to EllipseCollection
* image.interpolation_stage rcParam
* Arrow patch position is now modifiable
* NonUniformImage now has mouseover support
- Add matplotlib-meson-options-opensuse.patch
OBS-URL: https://build.opensuse.org/request/show/1178863
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=98
* Fix crash at exit for PGF backend
- Skip some broken tests with new pyparsing.
* fix use of customized toolbars in TkAgg and WXAgg backends
- Bump dependency versions
* Move architecture selection to bcond definition at top of
* use pytest-xvfb and %pytest macro
- update to version 1.5.3
* Four new perceptually uniform color maps, including the
- adjust python-tz buildrequires to match runtime requires (python-pytz)
to pull in the python-qt5 package to make it work, and that
- Phil Elson rewrote of the documentation and userguide for both
- Support for specifying properties of wedge and text in pie
- Fixed the mouse coordinates giving the wrong theta value in
- Matplotlib now looks for configuration files (both rcparams and
- You can now easily switch between different styles using the
+ In the figure options dialog one can now choose to
+ Interactive performance of the Qt4 backend has been
+ The mapping of key-signals from Qt to values matplotlib
+ The Cairo backends are now able to use the cairocffi
+ The Gtk3Agg backend now works on Python 3.x, if the cairocffi
- The context directive in the plot_directive Sphinx extension
can now accept an optional reset setting, which will cause the
* Added an option span_stays to SpanSelector which makes the
selector rectangle stay on the axes after you release the
- install LICENSE directory and fix license tag
- add use-setuptools.diff: build against old setuptools as well
- Configuration (rcParams)
* Remember save directory
- for API changes see
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=94
This needs ipykernel and a few new dependencies in Ring1
- Update to 3.8.2
* Bugfix release without API changes
- API Changes for 3.8.1
## Behaviour
* Default behaviour of hexbin with C provided requires at least 1
point
## Deprecations
* Deprecations removed in contour
- What's new in 3.8
## Type Hints
## Plotting and Annotation improvements
* Support customizing antialiasing for text and annotation
* rcParams for AutoMinorLocator divisions
* Axline setters and getters
* Clipping for contour plots
* Axes.ecdf
* Figure.get_suptitle(), Figure.get_supxlabel(),
Figure.get_supylabel()
* Ellipse.get_vertices(), Ellipse.get_co_vertices()
* Remove inner ticks in label_outer()
* Configurable legend shadows
* offset parameter for MultipleLocator
* Add a new valid color format (matplotlib_color, alpha)
* The pie chart shadow can be controlled
* PolyQuadMesh is a new class for drawing quadrilateral meshes
* Shadow shade can be controlled
* SpinesProxy now supports calling the set() method
* Allow setting the tick label fonts with a keyword argument
## Figure, Axes, and Legend Layout
* pad_inches="layout" for savefig
OBS-URL: https://build.opensuse.org/request/show/1133778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=79
- Update to 3.6.2
* Avoid mutating dictionaries passed to subplots
* Fix bbox_inches='tight' on a figure with constrained layout
enabled
* Fix auto-scaling of ax.hist density with histtype='step'
* Fix compatibility with PySide6 6.4
* Fix evaluating colormaps on non-NumPy arrays
* Fix key reporting in pick events
* Fix thread check on PyPy 3.8
* Handle input to ax.bar that is all NaN
* Make rubber band more visible on Tk and Wx backends
* Restore (and warn on) seaborn styles in style.library
* Restore get_renderer function in deprecated tight_layout
* nb/webagg: Fix resize handle on WebKit browsers (e.g., Safari)
- Release 3.6.1
* A warning is no longer raised when constrained layout
explicitly disabled and tight layout is applied
* Add missing get_cmap method to ColormapRegistry
* Adding a colorbar on a ScalarMappable that is not attached to
an Axes is now deprecated instead of raising a hard error
* Fix barplot being empty when first element is NaN
* Fix FigureManager.resize on GTK4
* Fix fill_between compatibility with NumPy 1.24 development
version
* Fix hexbin with empty arrays and log scaling
* Fix resize_event deprecation warnings when creating figure on
macOS
* Fix build in mingw
* Fix compatibility with PyCharm's interagg backend
* Fix crash on empty Text in PostScript backend
OBS-URL: https://build.opensuse.org/request/show/1044331
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=71
- Skip tests which crash with oom
- Update to version 3.5.1
* https://matplotlib.org/stable/users/prev_whats_new/whats_new_3.5.0.html
* Figure and Axes creation / management
- subplot_mosaic supports simple Axes sharing
- Figure now has draw_without_rendering method
- Figure __init__ passes keyword arguments through to set
* Plotting methods
- Add Annulus patch
- set_data method for FancyArrow patch
- New arrow styles in ArrowStyle and ConnectionPatch
- Setting collection offset transform after initialization
* Colors and colormaps
- Colormap registry (experimental)
- Image interpolation now possible at RGBA stage
- imshow supports half-float arrays
- A callback registry has been added to Normalize objects
* Titles, ticks, and labels
- Settings tick positions and labels simultaneously in
set_ticks
* Fonts and Text
- Triple and quadruple dot mathtext accents
- Font properties of legend title are configurable
- Text and TextBox added parse_math option
- Text can be positioned inside TextBox widget
- Simplifying the font setting for usetex mode
- Type 42 subsetting is now enabled for PDF/PS backends
* rcParams improvements
- Allow setting default legend labelcolor globally
* 3D Axes improvements
- Axes3D now allows manual control of draw order
- Allow changing the vertical axis in 3d plots
- plot_surface supports masked arrays and NaNs
- 3D plotting methods support data keyword argument
* Interactive tool improvements
- Colorbars now have pan and zoom functionality
- Updated the appearance of Slider widgets
- Removing points on a PolygonSelector
- Dragging selectors
- Clearing selectors
- Setting artist properties of selectors
- Ignore events outside selection
- CallbackRegistry objects gain a method to temporarily block
signals
- Directional sizing cursors
* Sphinx extensions
- More configuration of mathmpl sphinx extension
* Backend-specific improvements
- GTK backend
- Qt backends
- HiDPI support in Cairo-based, GTK, and Tk backends
- Qt figure options editor improvements
- WX backends support mouse navigation buttons
- WebAgg uses asyncio instead of Tornado
- Add gtk4 and gtk-common subpackages
OBS-URL: https://build.opensuse.org/request/show/940596
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=57
- specfile:
* update numpy requirement
* removed patch no-builddir-freetype.patch and instead put the source files directly into a
directory that works with the current build system
* also added qhull source code (which otherwise the build process tries to download)
- update to version 3.4.1:
* fix errorbar when specifying fillstyle
* fix Inkscape cleanup at exit on Windows for tests
* fix legends of colour-mapped scatter plots
* fix positioning of annotation fancy arrows
* fix size and color rendering for 3D scatter plots
* fix suptitle manual positioning when using constrained layout
* respect antialiasing settings in cairo backends as well
- changes from version 3.4.0:
* Figure and Axes creation / management
+ New subfigure functionality
+ Single-line string notation for subplot_mosaic
+ Changes to behavior of Axes creation methods (gca, add_axes,
add_subplot)
+ add_subplot/add_axes gained an axes_class parameter
+ Subplot and subplot2grid can now work with constrained layout
* Plotting methods
+ axline supports transform parameter
+ New automatic labeling for bar charts
+ A list of hatches can be specified to bar and barh
+ Setting BarContainer orientation
+ Contour plots now default to using ScalarFormatter
+ Axes.errorbar cycles non-color properties correctly
+ errorbar errorevery parameter matches markevery
+ hexbin supports data reference for C parameter
+ Support callable for formatting of Sankey labels
+ Axes.spines access shortcuts
+ New stairs method and StepPatch artist
+ Added orientation parameter for stem plots
+ Angles on Bracket arrow styles
+ TickedStroke patheffect
* Colors and colormaps
+ Collection color specification and mapping
+ Transparency (alpha) can be set as an array in collections
+ pcolormesh has improved transparency handling by enabling
snapping
+ IPython representations for Colormap objects
+ Colormap.set_extremes and Colormap.with_extremes
+ Get under/over/bad colors of Colormap objects
+ New cm.unregister_cmap function
+ New CenteredNorm for symmetrical data around a center
+ New FuncNorm for arbitrary normalizations
+ GridSpec-based colorbars can now be positioned above or to the
left of the main axes
* Titles, ticks, and labels
+ supxlabel and supylabel
+ Shared-axes subplots tick label visibility is now correct for
top or left labels
+ An iterable object with labels can be passed to Axes.plot
* Fonts and Text
+ Text transform can rotate text direction
+ matplotlib.mathtext now supports overset and underset LaTeX
symbols
+ math_fontfamily parameter to change Text font family
+ TextArea/AnchoredText support horizontalalignment
+ PDF supports URLs on Text artists
* rcParams improvements
+ New rcParams for dates: set converter and whether to use
interval_multiples
+ Date formatters now respect usetex rcParam
+ Setting image.cmap to a Colormap
+ Tick and tick label colors can be set independently using
rcParams
* 3D Axes improvements
+ Errorbar method in 3D Axes
+ Stem plots in 3D Axes
+ 3D Collection properties are now modifiable
+ Panning in 3D Axes
* Interactive tool improvements
+ New RangeSlider widget
+ Sliders can now snap to arbitrary values
+ Pausing and Resuming Animations
* Sphinx extensions
+ plot_directive caption option
* Backend-specific improvements
+ Consecutive rasterized draws now merged
+ Support raw/rgba frame format in FFMpegFileWriter
+ nbAgg/WebAgg support middle-click and double-click
+ nbAgg support binary communication
+ Indexed color for PNG images in PDF files when possible
+ Improved font subsettings in PDF/PS
+ Kerning added to strings in PDFs
+ Fully-fractional HiDPI in QtAgg
+ wxAgg supports fullscreen toggle
OBS-URL: https://build.opensuse.org/request/show/883353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=45
- Update to v3.3.3
This release contains several critical bug-fixes:
* Fix calls to Axis.grid with argument visible=True.
* Fix fully masked imshow.
* Fix inconsistent color mapping in scatter for 3D plots.
* Fix notebook/nbAgg figures when used with ipywidgets in the
same cell.
* Fix notebook/nbAgg/WebAgg on older (e.g., Firefox ESR)
browsers.
* Fix pcolormesh with datetime coordinates.
* Fix performance regression with datetimes.
* Fix singular ticks with small log ranges.
* Fix timers/animations on wx and notebook backends.
* Remove certifi as a hard runtime dependency.
- Changelog for v3.3.2
This release contains several critical bug-fixes:
* fix Axis scale on twinned Axes
* fix auto-close of Figures in nbagg
* fix automatic title placement if Axes is off the Figure
* fix autoranging of log scales with barstacked histogram
* fix extra redraws when using Button or TextBox widgets
* fix imshow with LogNorm and large vmin/vmax ranges
* fix plotting Pandas DataFrame with string MultiIndex
* fix scatter with marker=''
* fix scatter3d color/linewidth re-projection
* fix state of mode buttons in TkAgg backends
* include license files in built distribution
* reduce Visual C++ runtime requirements on Windows
- Changelog for v3.3.1
This release contains several critical bug-fixes:
OBS-URL: https://build.opensuse.org/request/show/863205
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=39
- Work on unit testing
* Move architecture selection to bcond definition at top of
specfile. This makes it clear in the OBS web UI that the test
flavor is only built for x86_64 and aarch64
* do not build everything a second time during check (in-place)
* instead use new subpackage testdata wich contains the baseline
images created at regular build time
* use pytest-xvfb and %pytest macro
(buildroot path actually not required)
* tidy test skip definitions
* add python-gobject-Gdk to pass the gtk3 backend testso
- include version for obsoletes -qt-shared (rpmlint warning)
- move some cairo files to backend packages
- remove python2 transition requirements mock and six
- update matplotlib-setup.cfg
OBS-URL: https://build.opensuse.org/request/show/821989
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=34
- update to version 3.3.0
+ Figure and Axes creation / management
* Provisional API for composing semantic axes layouts from text or nested lists
* GridSpec.subplots()
* New Axes.sharex, Axes.sharey methods
* tight_layout now supports suptitle
* Setting axes box aspect
+ Colors and colormaps
* Turbo colormap
* colors.BoundaryNorm supports extend keyword argument
* Text color for legend labels
* Pcolor and Pcolormesh now accept shading='nearest' and 'auto'
+ Titles, ticks, and labels
* Align labels to Axes edges
* Allow tick formatters to be set with str or function inputs
* Axes.set_title gains a y keyword argument to control auto positioning
* Offset text is now set to the top when using axis.tick_top()
* Set zorder of contour labels
+ Other changes
* New Axes.axline method
* imshow now coerces 3D arrays with depth 1 to 2D
* Better control of Axes.pie normalization
* Dates use a modern epoch
* Lines now accept MarkerStyle instances as input
+ Fonts
* Simple syntax to select fonts by absolute path
* Improved font weight detection
+ rcParams improvements
* matplotlib.rc_context can be used as a decorator
* rcParams for controlling default "raise window" behavior
* Add generalized mathtext.fallback to rcParams
* Add contour.linewidth to rcParams
+ 3D Axes improvements
* Axes3D no longer distorts the 3D plot to match the 2D aspect ratio
* 3D axes now support minor ticks
* Home/Forward/Backward buttons now work with 3D axes
+ Interactive tool improvements
* More consistent toolbar behavior across backends
* Toolbar icons are now styled for dark themes
* Cursor text now uses a number of significant digits matching pointing precision
* GTK / Qt zoom rectangle now black and white
* Event handler simplifications
+ Functions to compute a Path's size
* Better interface for Path segment iteration
* Fixed bug that computed a Path's Bbox incorrectly
+ Backend-specific improvements
* savefig() gained a backend keyword argument
* The SVG backend can now render hatches with transparency
* SVG supports URLs on more artists
* Images in SVG will no longer be blurred in some viewers
* Saving SVG now supports adding metadata
* Saving PDF metadata via PGF now consistent with PDF backend
* NbAgg and WebAgg no longer use jQuery & jQuery UI
- Rebase no-builddir-freetype.patch
OBS-URL: https://build.opensuse.org/request/show/821680
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=33
- update to version 3.2.2:
* Unit converters recognize subclasses
* imsave accepts metadata and PIL options
* cbook.normalize_kwargs
* FontProperties accepts os.PathLike
* Gouraud-shading alpha channel in PDF backend
* Kerning adjustments now use correct values
* bar3d lightsource shading
* Shifting errorbars
* Improvements in Logit scale ticker and formatter
* rcParams for axes title location and color
* 3-digit and 4-digit hex colors
OBS-URL: https://build.opensuse.org/request/show/816745
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=31
- update to version 3.1.0:
+ New Features
* `~.dates.ConciseDateFormatter`
* Secondary x/y Axis support
* `~.scale.FuncScale` for arbitrary axes scales
* Legend for scatter
* Matplotlib no longer requires framework app build on MacOSX backend
+ Figure, FigureCanvas, and Backends
* Figure.frameon is now a direct proxy for the Figure patch visibility state
* *pil_kwargs* argument added to savefig
* Add ``inaxes`` method to `.FigureCanvasBase`
* cairo backend defaults to pycairo instead of cairocffi
+ Axes and Artists
* axes_grid1 and axisartist Axes no longer draw spines twice
* Return type of ArtistInspector.get_aliases changed
* `.ConnectionPatch` accepts arbitrary transforms
* mplot3d Line3D now allows {set,get}_data_3d
* ``Axes3D.voxels`` now shades the resulting voxels
+ Axis and Ticks
* Added `.Axis.get_inverted` and `.Axis.set_inverted`
* Adjust default minor tick spacing
* `.EngFormatter` now accepts `usetex`, `useMathText` as keyword only arguments
+ Animation and Interactivity
* Support for forward/backward mouse buttons
* *progress_callback* argument to `~.Animation.save()`
* Add ``cache_frame_data`` keyword-only argument into `.animation.FuncAnimation`
* Endless Looping GIFs with PillowWriter
* Adjusted `.matplotlib.widgets.Slider` to have vertical orientation
* Improved formatting of image values under cursor when a colorbar is present
* MouseEvent button attribute is now an IntEnum
+ Configuration, Install, and Development
* The MATPLOTLIBRC environment variable can now point to any "file" path
* Allow LaTeX code ``pgf.preamble`` and ``text.latex.preamble`` in MATPLOTLIBRC file
* New logging API
- Switch to upstream-recommended python-cairo instead of
python-cairocffi
OBS-URL: https://build.opensuse.org/request/show/703996
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=15