1
0
python-matplotlib/python-matplotlib.spec

453 lines
18 KiB
RPMSpec
Raw Normal View History

#
# spec file
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
%bcond_without test
# Run on 64bit intel and arm only, on others there are >100 test failures
ExclusiveArch: x86_64 aarch64
%else
%define psuffix %{nil}
%bcond_with test
%endif
%{?sle15_python_module_pythons}
Name: python-matplotlib%{psuffix}
Version: 3.6.3
Release: 0
Summary: Plotting Library for Python
License: SUSE-Matplotlib
URL: https://matplotlib.org
Source: https://files.pythonhosted.org/packages/source/m/matplotlib/matplotlib-%{version}.tar.gz
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
Source1: matplotlib-mplsetup.cfg
Accepting request 883353 from home:apersaud:branches:devel:languages:python:numeric - 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
2021-04-07 11:55:25 +02:00
# Bundled version of freetype and qhull for testing purposes only
Source98: http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz
Source99: https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz
# PATCH-FIX-OPENSUSE mmachova@suse.com workaround for boo#1213007 suggested in https://github.com/matplotlib/matplotlib/issues/26152#issuecomment-1607594392
Patch: pyparsing-workaround-setName.patch
Recommends: ghostscript
Recommends: libxml2-tools
Recommends: poppler-tools
Recommends: python-certifi
Recommends: (%{python_flavor}-matplotlib-tk if tk)
Provides: python-matplotlib-gtk = %{version}
Obsoletes: python-matplotlib-gtk < %{version}
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
# SECTION build
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module numpy-devel >= 1.19}
Accepting request 863205 from home:bnavigator:branches:devel:languages:python:numeric - 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
2021-01-15 07:06:52 +01:00
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm >= 7}
BuildRequires: %{python_module setuptools}
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
BuildRequires: %{python_module wheel}
BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: qhull-devel >= 2003.1
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
# /SECTION
# SECTION tk dependencies via tcl
BuildRequires: tcl
BuildRequires: pkgconfig(freetype2) >= 2.3
BuildRequires: pkgconfig(libpng) >= 1.2
BuildRequires: pkgconfig(tcl)
# /SECTION
# SECTION runtime
Requires: python-Cycler >= 0.10
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
Requires: python-FontTools >= 4.22.0
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
Requires: python-Pillow >= 6.2.0
Requires: python-contourpy >= 1.0.1
Requires: python-kiwisolver >= 1.0.1
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
Requires: python-numpy >= 1.19
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
Requires: python-packaging >= 20.0
Requires: python-pyparsing > 2.2.1
Requires: python-python-dateutil >= 2.7
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
# /SECTION
# SECTION test
%if %{with test}
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
BuildRequires: %{python_module matplotlib = %{version}}
BuildRequires: %{python_module matplotlib-cairo = %{version}}
BuildRequires: %{python_module matplotlib-gtk3 = %{version}}
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
BuildRequires: %{python_module matplotlib-gtk4 = %{version}}
BuildRequires: %{python_module matplotlib-qt5 = %{version}}
BuildRequires: %{python_module matplotlib-testdata = %{version}}
BuildRequires: %{python_module matplotlib-tk = %{version}}
BuildRequires: %{python_module matplotlib-web = %{version}}
BuildRequires: %{python_module matplotlib-wx = %{version}}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest-xvfb}
BuildRequires: %{python_module pytest}
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
# SECTION latex test dependencies
BuildRequires: %{python_module matplotlib-latex = %{version}}
BuildRequires: ghostscript
BuildRequires: inkscape
BuildRequires: poppler-tools
# /SECTION
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
# /SECTION test
%endif
%python_subpackages
%description
matplotlib is a python 2D plotting library which produces publication
quality figures in a variety of hardcopy formats and interactive
environments across platforms. matplotlib can be used in python
scripts, the python and ipython shell (ala matlab or mathematica), web
application servers, and six graphical user interface toolkits.
%package cairo
Summary: Cairo backend for %{name}
Requires: %{name} = %{version}
Accepting request 703996 from home:TheBlackCat:branches:devel:languages:python:numeric - 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
2019-05-19 07:15:06 +02:00
Requires: python-cairo
%description cairo
This package includes the non-interactive Cairo-based backend
for the %{name} plotting package
%package gtk3
Summary: GTK3 backends for %{name}
Requires: %{name} = %{version}
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
Requires: %{name}-gtk-common = %{version}
%description gtk3
This package includes the GTK3-based gtk3, gtk3agg, and
gtk3cairo backends for the %{name} plotting package
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%package gtk4
Summary: GTK4 backends for %{name}
Requires: %{name} = %{version}
Requires: %{name}-gtk-common = %{version}
%description gtk4
This package includes the GTK4-based gtk4, gtk4agg, and
gtk4cairo backends for the %{name} plotting package
%package gtk-common
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
Summary: Code common for GTK3 and GTK4 backends for %{name}
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
Requires: %{name} = %{version}
Requires: %{name}-cairo = %{version}
Requires: gdk-pixbuf-loader-rsvg
Requires: python-gobject-Gdk
Requires: python-gobject-cairo
%description gtk-common
This package provides code common for the GTK3 and GTK4 backends
for the %{name} plotting package
%package latex
Summary: Allow rendering latex in %{name}
Requires: %{name} = %{version}
# grep usepackage lib/matplotlib/texmanager.py lib/matplotlib/backends/backend_pgf.py
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
# https://github.com/search?q=usepackage+repo%3Amatplotlib%2Fmatplotlib+path%3Alib&type=Code
Requires: texlive-dvipng
Requires: texlive-dvips
Requires: texlive-geometry
Requires: texlive-graphics
Requires: texlive-helvetic
Requires: texlive-latex
Requires: texlive-pgf
Requires: texlive-sfmath
Requires: texlive-tex
Requires: texlive-txfonts
Requires: texlive-xcolor
Requires: tex(avant.sty)
Requires: tex(chancery.sty)
Requires: tex(charter.sty)
Requires: tex(courier.sty)
Requires: tex(geometry.sty)
Requires: tex(helvet.sty)
Requires: tex(mathpazo.sty)
Requires: tex(mathptmx.sty)
Requires: tex(pncr.tfm)
Requires: tex(psfrag.sty)
Requires: tex(type1cm.sty)
Requires: tex(type1ec.sty)
Requires: tex(ucs.sty)
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
Requires: tex(underscore.sty)
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
BuildArch: noarch
%description latex
This package allows %{name} to display latex in plots
and figures.
%package qt5
Summary: Qt5 backend for %{name}
Requires: %{name} = %{version}
Requires: python-qt5
Provides: %{name}-qt-shared = %{version}
Obsoletes: %{name}-qt-shared < %{version}
%description qt5
This package includes the Qt5-based pyqt5 backend
for the %{name} plotting package
%package testdata
Summary: Test data for %{name}
Requires: %{name} = %{version}
%description testdata
This package includes the test baseline data
for the %{name} plotting package
%package tk
Summary: Tk backend for %{name}
Requires: %{name} = %{version}
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
Requires: python-Pillow-tk
Requires: python-tk
Requires: tcl >= 8.3
%description tk
This package includes the Tk-based tkagg backend
for the %{name} plotting package
%package web
Summary: Web backend for %{name}
Requires: %{name} = %{version}
Requires: python-tornado
%description web
This package includes the browser-based webagg backend
for the %{name} plotting package
%package wx
Summary: WxWidgets backend for %{name}
Requires: %{name} = %{version}
Requires: python-wxPython >= 4
%description wx
This package includes the wxWidgets-based wxagg backend
for %{name} plotting package
%prep
%autosetup -p1 -n matplotlib-%{version}
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
# Copy freetype to the right location, so that matplotlib will not try to download it
Accepting request 883353 from home:apersaud:branches:devel:languages:python:numeric - 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
2021-04-07 11:55:25 +02:00
mkdir -p ~/.cache/matplotlib/
SHA=($(sha256sum %{SOURCE98}))
cp %{SOURCE98} ~/.cache/matplotlib/${SHA}
SHA=($(sha256sum %{SOURCE99}))
cp %{SOURCE99} ~/.cache/matplotlib/${SHA}
chmod -x lib/matplotlib/mpl-data/images/*.svg
find examples lib/matplotlib lib/mpl_toolkits/mplot3d -type f -name "*.py" -exec sed -i "s|#!\/usr\/bin\/env python||" {} \;
find examples lib/matplotlib lib/mpl_toolkits/mplot3d -type f -name "*.py" -exec sed -i "s|#!\/usr\/bin\/python||" {} \;
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
cp %{SOURCE1} mplsetup.cfg
Accepting request 863205 from home:bnavigator:branches:devel:languages:python:numeric - 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
2021-01-15 07:06:52 +01:00
# The setup procedure wants certifi to download packages over https. Not applicable here.
sed -i '/"certifi>=.*"/ d' setup.py
%build
%if !%{with test}
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
%pyproject_wheel
%endif
%install
%if !%{with test}
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
%pyproject_install
Accepting request 863205 from home:bnavigator:branches:devel:languages:python:numeric - 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
2021-01-15 07:06:52 +01:00
%{python_expand sed -i -e "s/install matplotlib from source/install the $python-matplotlib-testdata package/" \
%{buildroot}%{$python_sitearch}/matplotlib/tests/__init__.py
}
Accepting request 863205 from home:bnavigator:branches:devel:languages:python:numeric - 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
2021-01-15 07:06:52 +01:00
%{?python_compileall}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%endif
%if %{with test}
%check
# fails to detect alternative backend within xvfb
skip_tests+=" or test_backend_fallback_headful"
# test_usetex.py::test_usetex[png] - no tex text -- do not skip test_empty[png] and test_unicode_minus[png]
skip_tests+=" or (test_usetex and png and not empty and not unicode)"
# output slightly differs: text moves a bit
skip_tests+=" or test_pdflatex"
# timing tests on obs can fail unpredictably
skip_tests+=" or test_invisible_Line_rendering"
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
# too much memory consumption on obs parallel workers
skip_tests+=" or (test_agg and chunksize) or test_throw_rendering_complexity_exceeded"
# testing interactive backend leaks inside obs is flaky
skip_tests+=" or (test_backends_interactive and test_figure_leak_20490)"
# flaky signal termination tests inside obs
skip_tests+=" or _sigint"
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
# test finds extra system fonts not found by the mpl fontmanager
skip_tests+=" or test_get_font_names"
# different default font
skip_tests+=" or test_bold_font_output_with_none_fonttype"
%ifnarch x86_64
# image comparison failures due to precisions dicrepancies to the x86 produced references
skip_tests+=" or png or svg or pdf"
%endif
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
# backend tests landing in the wrong xdist process may fail with an error. Test them without xdist.
no_xdist="test_backend or test_span_selector_animated_artists_callback"
Accepting request 863205 from home:bnavigator:branches:devel:languages:python:numeric - 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
2021-01-15 07:06:52 +01:00
%{pytest_arch --pyargs matplotlib.tests \
--pyargs mpl_toolkits.tests \
-n auto \
-m "not network" \
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
-vv \
-k "not (${no_xdist} ${skip_tests})"
Accepting request 863205 from home:bnavigator:branches:devel:languages:python:numeric - 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
2021-01-15 07:06:52 +01:00
}
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
%pytest_arch --pyargs matplotlib.tests -k "(${no_xdist}) and not (${skip_tests:4})"
%endif
%if !%{with test}
%files %{python_files}
%doc README.rst
%doc examples/
%license LICENSE/
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%license doc/users/project/license.rst
%{python_sitearch}/matplotlib/
Accepting request 1044331 from home:bnavigator:branches:devel:languages:python:numeric - 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
2022-12-23 17:13:55 +01:00
%{python_sitearch}/matplotlib-%{version}.dist-info
%{python_sitearch}/matplotlib-%{version}-py*-nspkg.pth
%{python_sitearch}/mpl_toolkits
%{python_sitearch}/pylab.py*
%pycache_only %{python_sitearch}/__pycache__/pylab.*
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%exclude %{python_sitearch}/matplotlib/backends/_backend_tk.py
%exclude %{python_sitearch}/matplotlib/backends/_backend_gtk.py
%exclude %{python_sitearch}/matplotlib/backends/backend_cairo.*
%exclude %{python_sitearch}/matplotlib/backends/backend_gtk3.*
%exclude %{python_sitearch}/matplotlib/backends/backend_gtk3agg.*
%exclude %{python_sitearch}/matplotlib/backends/backend_gtk3cairo.*
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%exclude %{python_sitearch}/matplotlib/backends/backend_gtk4.*
%exclude %{python_sitearch}/matplotlib/backends/backend_gtk4agg.*
%exclude %{python_sitearch}/matplotlib/backends/backend_gtk4cairo.*
%exclude %{python_sitearch}/matplotlib/backends/backend_qt5.*
%exclude %{python_sitearch}/matplotlib/backends/backend_qt5agg.*
%exclude %{python_sitearch}/matplotlib/backends/backend_qt5cairo.py*
%exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.*
%exclude %{python_sitearch}/matplotlib/backends/backend_tkcairo.*
%exclude %{python_sitearch}/matplotlib/backends/backend_webagg.*
%exclude %{python_sitearch}/matplotlib/backends/backend_webagg_core.*
%exclude %{python_sitearch}/matplotlib/backends/backend_wx.*
%exclude %{python_sitearch}/matplotlib/backends/backend_wxagg.*
%exclude %{python_sitearch}/matplotlib/backends/backend_wxcairo.*
%exclude %{python_sitearch}/matplotlib/backends/qt_compat.*
%exclude %{python_sitearch}/matplotlib/backends/qt_editor/
%exclude %{python_sitearch}/matplotlib/backends/web_backend/
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/_backend_tk.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/_backend_gtk.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3agg.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3cairo.*.py*
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk4.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk4agg.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk4cairo.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5agg.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5cairo.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkagg.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkcairo.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_wx.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxagg.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxcairo.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*.py*
%exclude %{python_sitearch}/matplotlib/tests/baseline_images
%exclude %{python_sitearch}/matplotlib/tests/tinypages
%exclude %{python_sitearch}/mpl_toolkits/tests/baseline_images
# Dummy package to pull in latex dependencies.
%files %{python_files latex}
%license LICENSE/
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%license doc/users/project/license.rst
%files %{python_files cairo}
%license LICENSE/
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%license doc/users/project/license.rst
%{python_sitearch}/matplotlib/backends/backend_cairo.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.*.py*
%files %{python_files gtk3}
%license LICENSE/
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%license doc/users/project/license.rst
%{python_sitearch}/matplotlib/backends/backend_gtk3.py*
%{python_sitearch}/matplotlib/backends/backend_gtk3agg.py*
%{python_sitearch}/matplotlib/backends/backend_gtk3cairo.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3agg.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3cairo.*.py*
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%files %{python_files gtk4}
%license LICENSE/
%license doc/users/project/license.rst
%{python_sitearch}/matplotlib/backends/backend_gtk4.py*
%{python_sitearch}/matplotlib/backends/backend_gtk4agg.py*
%{python_sitearch}/matplotlib/backends/backend_gtk4cairo.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk4.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk4agg.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk4cairo.*.py*
%files %{python_files gtk-common}
%license LICENSE/
%license doc/users/project/license.rst
%{python_sitearch}/matplotlib/backends/_backend_gtk.py
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/_backend_gtk.*.py*
%files %{python_files qt5}
%license LICENSE/
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%license doc/users/project/license.rst
%{python_sitearch}/matplotlib/backends/backend_qt5.py*
%{python_sitearch}/matplotlib/backends/backend_qt5agg.py*
%{python_sitearch}/matplotlib/backends/backend_qt5cairo.py*
%{python_sitearch}/matplotlib/backends/qt_compat.py*
%{python_sitearch}/matplotlib/backends/qt_editor/
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5agg.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5cairo.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*.py*
%files %{python_files testdata}
%license LICENSE/
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%license doc/users/project/license.rst
%{python_sitearch}/matplotlib/tests/baseline_images
%{python_sitearch}/matplotlib/tests/tinypages
%{python_sitearch}/mpl_toolkits/tests/baseline_images
%exclude %{python_sitearch}/matplotlib/tests/tinypages/.gitignore
%exclude %{python_sitearch}/matplotlib/tests/tinypages/_static/.gitignore
%files %{python_files tk}
%license LICENSE/
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%license doc/users/project/license.rst
%{python_sitearch}/matplotlib/backends/_backend_tk.py*
%{python_sitearch}/matplotlib/backends/backend_tkagg.py*
%{python_sitearch}/matplotlib/backends/backend_tkcairo.py*
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/_backend_tk.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkagg.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkcairo.*.py*
%files %{python_files web}
%license LICENSE/
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%license doc/users/project/license.rst
%{python_sitearch}/matplotlib/backends/backend_webagg.py*
%{python_sitearch}/matplotlib/backends/backend_webagg_core.py*
%{python_sitearch}/matplotlib/backends/web_backend/
%exclude %{python_sitearch}/matplotlib/backends/web_backend/.*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*.py*
%files %{python_files wx}
%license LICENSE/
Accepting request 940596 from home:bnavigator:python-rpm-macros - 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
2021-12-16 12:34:18 +01:00
%license doc/users/project/license.rst
%{python_sitearch}/matplotlib/backends/backend_wx.py*
%{python_sitearch}/matplotlib/backends/backend_wxagg.py*
%{python_sitearch}/matplotlib/backends/backend_wxcairo.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_wx.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxagg.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxcairo.*.py*
%endif
%changelog