diff options
author | adam <adam@pkgsrc.org> | 2021-05-05 10:11:29 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-05-05 10:11:29 +0000 |
commit | 480fc720b9b9c63d335c92dcd16662d42cd3d279 (patch) | |
tree | 80f78d9242a0a7327d759482b69b6a020ab08287 /graphics | |
parent | 341156ba2818a3f6907959facc65c1d3cf0663da (diff) | |
download | pkgsrc-480fc720b9b9c63d335c92dcd16662d42cd3d279.tar.gz |
py-matplotlib: updated to 3.4.1
What's new in Matplotlib 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
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-matplotlib/Makefile | 10 | ||||
-rw-r--r-- | graphics/py-matplotlib/PLIST | 62 | ||||
-rw-r--r-- | graphics/py-matplotlib/distinfo | 11 | ||||
-rw-r--r-- | graphics/py-matplotlib/patches/patch-setupext.py | 16 |
4 files changed, 34 insertions, 65 deletions
diff --git a/graphics/py-matplotlib/Makefile b/graphics/py-matplotlib/Makefile index ee849f39de7..940a75c31c7 100644 --- a/graphics/py-matplotlib/Makefile +++ b/graphics/py-matplotlib/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.66 2021/02/07 15:31:44 adam Exp $ +# $NetBSD: Makefile,v 1.67 2021/05/05 10:11:29 adam Exp $ -DISTNAME= matplotlib-3.3.4 +DISTNAME= matplotlib-3.4.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_PYPI:=m/matplotlib/} @@ -13,10 +13,10 @@ COMMENT= Matlab-style plotting package for Python DEPENDS+= ${PYPKGPREFIX}-Pillow>=6.2.0:../../graphics/py-Pillow DEPENDS+= ${PYPKGPREFIX}-cairo-[0-9]*:../../graphics/py-cairo DEPENDS+= ${PYPKGPREFIX}-cycler>=0.10:../../graphics/py-cycler -DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil +DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.7:../../time/py-dateutil DEPENDS+= ${PYPKGPREFIX}-kiwisolver>=1.0.1:../../math/py-kiwisolver -DEPENDS+= ${PYPKGPREFIX}-pyparsing>=2.2.0:../../devel/py-pyparsing -DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi +DEPENDS+= ${PYPKGPREFIX}-pyparsing>=2.2.1:../../devel/py-pyparsing +BUILD_DEPENDS+= ${PYPKGPREFIX}-certifi>=2020.06.20:../../security/py-certifi TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test USE_LANGUAGES= c c++ diff --git a/graphics/py-matplotlib/PLIST b/graphics/py-matplotlib/PLIST index 4ee80a96251..c078e220140 100644 --- a/graphics/py-matplotlib/PLIST +++ b/graphics/py-matplotlib/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.26 2021/01/10 20:27:33 adam Exp $ +@comment $NetBSD: PLIST,v 1.27 2021/05/05 10:11:29 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -12,6 +12,13 @@ ${PYSITELIB}/matplotlib/__init__.pyo ${PYSITELIB}/matplotlib/_animation_data.py ${PYSITELIB}/matplotlib/_animation_data.pyc ${PYSITELIB}/matplotlib/_animation_data.pyo +${PYSITELIB}/matplotlib/_api/__init__.py +${PYSITELIB}/matplotlib/_api/__init__.pyc +${PYSITELIB}/matplotlib/_api/__init__.pyo +${PYSITELIB}/matplotlib/_api/deprecation.py +${PYSITELIB}/matplotlib/_api/deprecation.pyc +${PYSITELIB}/matplotlib/_api/deprecation.pyo +${PYSITELIB}/matplotlib/_c_internal_utils.so ${PYSITELIB}/matplotlib/_cm.py ${PYSITELIB}/matplotlib/_cm.pyc ${PYSITELIB}/matplotlib/_cm.pyo @@ -25,13 +32,19 @@ ${PYSITELIB}/matplotlib/_constrained_layout.py ${PYSITELIB}/matplotlib/_constrained_layout.pyc ${PYSITELIB}/matplotlib/_constrained_layout.pyo ${PYSITELIB}/matplotlib/_contour.so +${PYSITELIB}/matplotlib/_enums.py +${PYSITELIB}/matplotlib/_enums.pyc +${PYSITELIB}/matplotlib/_enums.pyo ${PYSITELIB}/matplotlib/_image.so ${PYSITELIB}/matplotlib/_internal_utils.py ${PYSITELIB}/matplotlib/_internal_utils.pyc ${PYSITELIB}/matplotlib/_internal_utils.pyo -${PYSITELIB}/matplotlib/_layoutbox.py -${PYSITELIB}/matplotlib/_layoutbox.pyc -${PYSITELIB}/matplotlib/_layoutbox.pyo +${PYSITELIB}/matplotlib/_layoutgrid.py +${PYSITELIB}/matplotlib/_layoutgrid.pyc +${PYSITELIB}/matplotlib/_layoutgrid.pyo +${PYSITELIB}/matplotlib/_mathtext.py +${PYSITELIB}/matplotlib/_mathtext.pyc +${PYSITELIB}/matplotlib/_mathtext.pyo ${PYSITELIB}/matplotlib/_mathtext_data.py ${PYSITELIB}/matplotlib/_mathtext_data.pyc ${PYSITELIB}/matplotlib/_mathtext_data.pyo @@ -390,45 +403,32 @@ ${PYSITELIB}/matplotlib/mpl-data/fonts/ttf/cmss10.ttf ${PYSITELIB}/matplotlib/mpl-data/fonts/ttf/cmsy10.ttf ${PYSITELIB}/matplotlib/mpl-data/fonts/ttf/cmtt10.ttf ${PYSITELIB}/matplotlib/mpl-data/images/back-symbolic.svg -${PYSITELIB}/matplotlib/mpl-data/images/back.gif ${PYSITELIB}/matplotlib/mpl-data/images/back.pdf ${PYSITELIB}/matplotlib/mpl-data/images/back.png ${PYSITELIB}/matplotlib/mpl-data/images/back.svg -${PYSITELIB}/matplotlib/mpl-data/images/back_large.gif ${PYSITELIB}/matplotlib/mpl-data/images/back_large.png ${PYSITELIB}/matplotlib/mpl-data/images/filesave-symbolic.svg -${PYSITELIB}/matplotlib/mpl-data/images/filesave.gif ${PYSITELIB}/matplotlib/mpl-data/images/filesave.pdf ${PYSITELIB}/matplotlib/mpl-data/images/filesave.png ${PYSITELIB}/matplotlib/mpl-data/images/filesave.svg -${PYSITELIB}/matplotlib/mpl-data/images/filesave_large.gif ${PYSITELIB}/matplotlib/mpl-data/images/filesave_large.png ${PYSITELIB}/matplotlib/mpl-data/images/forward-symbolic.svg -${PYSITELIB}/matplotlib/mpl-data/images/forward.gif ${PYSITELIB}/matplotlib/mpl-data/images/forward.pdf ${PYSITELIB}/matplotlib/mpl-data/images/forward.png ${PYSITELIB}/matplotlib/mpl-data/images/forward.svg -${PYSITELIB}/matplotlib/mpl-data/images/forward_large.gif ${PYSITELIB}/matplotlib/mpl-data/images/forward_large.png -${PYSITELIB}/matplotlib/mpl-data/images/hand.gif ${PYSITELIB}/matplotlib/mpl-data/images/hand.pdf ${PYSITELIB}/matplotlib/mpl-data/images/hand.png ${PYSITELIB}/matplotlib/mpl-data/images/hand.svg -${PYSITELIB}/matplotlib/mpl-data/images/hand_large.gif ${PYSITELIB}/matplotlib/mpl-data/images/help-symbolic.svg -${PYSITELIB}/matplotlib/mpl-data/images/help.gif ${PYSITELIB}/matplotlib/mpl-data/images/help.pdf ${PYSITELIB}/matplotlib/mpl-data/images/help.png -${PYSITELIB}/matplotlib/mpl-data/images/help.ppm ${PYSITELIB}/matplotlib/mpl-data/images/help.svg ${PYSITELIB}/matplotlib/mpl-data/images/help_large.png -${PYSITELIB}/matplotlib/mpl-data/images/help_large.ppm ${PYSITELIB}/matplotlib/mpl-data/images/home-symbolic.svg -${PYSITELIB}/matplotlib/mpl-data/images/home.gif ${PYSITELIB}/matplotlib/mpl-data/images/home.pdf ${PYSITELIB}/matplotlib/mpl-data/images/home.png ${PYSITELIB}/matplotlib/mpl-data/images/home.svg -${PYSITELIB}/matplotlib/mpl-data/images/home_large.gif ${PYSITELIB}/matplotlib/mpl-data/images/home_large.png ${PYSITELIB}/matplotlib/mpl-data/images/matplotlib.pdf ${PYSITELIB}/matplotlib/mpl-data/images/matplotlib.png @@ -436,45 +436,34 @@ ${PYSITELIB}/matplotlib/mpl-data/images/matplotlib.svg ${PYSITELIB}/matplotlib/mpl-data/images/matplotlib_128.ppm ${PYSITELIB}/matplotlib/mpl-data/images/matplotlib_large.png ${PYSITELIB}/matplotlib/mpl-data/images/move-symbolic.svg -${PYSITELIB}/matplotlib/mpl-data/images/move.gif ${PYSITELIB}/matplotlib/mpl-data/images/move.pdf ${PYSITELIB}/matplotlib/mpl-data/images/move.png ${PYSITELIB}/matplotlib/mpl-data/images/move.svg -${PYSITELIB}/matplotlib/mpl-data/images/move_large.gif ${PYSITELIB}/matplotlib/mpl-data/images/move_large.png ${PYSITELIB}/matplotlib/mpl-data/images/qt4_editor_options.pdf ${PYSITELIB}/matplotlib/mpl-data/images/qt4_editor_options.png ${PYSITELIB}/matplotlib/mpl-data/images/qt4_editor_options.svg ${PYSITELIB}/matplotlib/mpl-data/images/qt4_editor_options_large.png ${PYSITELIB}/matplotlib/mpl-data/images/subplots-symbolic.svg -${PYSITELIB}/matplotlib/mpl-data/images/subplots.gif ${PYSITELIB}/matplotlib/mpl-data/images/subplots.pdf ${PYSITELIB}/matplotlib/mpl-data/images/subplots.png ${PYSITELIB}/matplotlib/mpl-data/images/subplots.svg -${PYSITELIB}/matplotlib/mpl-data/images/subplots_large.gif ${PYSITELIB}/matplotlib/mpl-data/images/subplots_large.png ${PYSITELIB}/matplotlib/mpl-data/images/zoom_to_rect-symbolic.svg -${PYSITELIB}/matplotlib/mpl-data/images/zoom_to_rect.gif ${PYSITELIB}/matplotlib/mpl-data/images/zoom_to_rect.pdf ${PYSITELIB}/matplotlib/mpl-data/images/zoom_to_rect.png ${PYSITELIB}/matplotlib/mpl-data/images/zoom_to_rect.svg -${PYSITELIB}/matplotlib/mpl-data/images/zoom_to_rect_large.gif ${PYSITELIB}/matplotlib/mpl-data/images/zoom_to_rect_large.png ${PYSITELIB}/matplotlib/mpl-data/matplotlibrc +${PYSITELIB}/matplotlib/mpl-data/plot_directive/plot_directive.css ${PYSITELIB}/matplotlib/mpl-data/sample_data/Minduka_Present_Blue_Pack.png -${PYSITELIB}/matplotlib/mpl-data/sample_data/None_vs_nearest-pdf.png ${PYSITELIB}/matplotlib/mpl-data/sample_data/README.txt -${PYSITELIB}/matplotlib/mpl-data/sample_data/aapl.npz -${PYSITELIB}/matplotlib/mpl-data/sample_data/ada.png ${PYSITELIB}/matplotlib/mpl-data/sample_data/axes_grid/bivariate_normal.npy -${PYSITELIB}/matplotlib/mpl-data/sample_data/ct.raw.gz ${PYSITELIB}/matplotlib/mpl-data/sample_data/data_x_x2_x3.csv -${PYSITELIB}/matplotlib/mpl-data/sample_data/demodata.csv ${PYSITELIB}/matplotlib/mpl-data/sample_data/eeg.dat ${PYSITELIB}/matplotlib/mpl-data/sample_data/embedding_in_wx3.xrc ${PYSITELIB}/matplotlib/mpl-data/sample_data/goog.npz ${PYSITELIB}/matplotlib/mpl-data/sample_data/grace_hopper.jpg -${PYSITELIB}/matplotlib/mpl-data/sample_data/grace_hopper.png ${PYSITELIB}/matplotlib/mpl-data/sample_data/jacksboro_fault_dem.npz ${PYSITELIB}/matplotlib/mpl-data/sample_data/logo2.png ${PYSITELIB}/matplotlib/mpl-data/sample_data/membrane.dat @@ -586,9 +575,6 @@ ${PYSITELIB}/matplotlib/testing/conftest.pyo ${PYSITELIB}/matplotlib/testing/decorators.py ${PYSITELIB}/matplotlib/testing/decorators.pyc ${PYSITELIB}/matplotlib/testing/decorators.pyo -${PYSITELIB}/matplotlib/testing/disable_internet.py -${PYSITELIB}/matplotlib/testing/disable_internet.pyc -${PYSITELIB}/matplotlib/testing/disable_internet.pyo ${PYSITELIB}/matplotlib/testing/exceptions.py ${PYSITELIB}/matplotlib/testing/exceptions.pyc ${PYSITELIB}/matplotlib/testing/exceptions.pyo @@ -637,6 +623,9 @@ ${PYSITELIB}/matplotlib/tests/test_agg_filter.pyo ${PYSITELIB}/matplotlib/tests/test_animation.py ${PYSITELIB}/matplotlib/tests/test_animation.pyc ${PYSITELIB}/matplotlib/tests/test_animation.pyo +${PYSITELIB}/matplotlib/tests/test_api.py +${PYSITELIB}/matplotlib/tests/test_api.pyc +${PYSITELIB}/matplotlib/tests/test_api.pyo ${PYSITELIB}/matplotlib/tests/test_arrow_patches.py ${PYSITELIB}/matplotlib/tests/test_arrow_patches.pyc ${PYSITELIB}/matplotlib/tests/test_arrow_patches.pyo @@ -652,6 +641,9 @@ ${PYSITELIB}/matplotlib/tests/test_backend_bases.pyo ${PYSITELIB}/matplotlib/tests/test_backend_cairo.py ${PYSITELIB}/matplotlib/tests/test_backend_cairo.pyc ${PYSITELIB}/matplotlib/tests/test_backend_cairo.pyo +${PYSITELIB}/matplotlib/tests/test_backend_gtk3.py +${PYSITELIB}/matplotlib/tests/test_backend_gtk3.pyc +${PYSITELIB}/matplotlib/tests/test_backend_gtk3.pyo ${PYSITELIB}/matplotlib/tests/test_backend_nbagg.py ${PYSITELIB}/matplotlib/tests/test_backend_nbagg.pyc ${PYSITELIB}/matplotlib/tests/test_backend_nbagg.pyo @@ -952,9 +944,6 @@ ${PYSITELIB}/mpl_toolkits/axes_grid/axislines.pyo ${PYSITELIB}/mpl_toolkits/axes_grid/clip_path.py ${PYSITELIB}/mpl_toolkits/axes_grid/clip_path.pyc ${PYSITELIB}/mpl_toolkits/axes_grid/clip_path.pyo -${PYSITELIB}/mpl_toolkits/axes_grid/colorbar.py -${PYSITELIB}/mpl_toolkits/axes_grid/colorbar.pyc -${PYSITELIB}/mpl_toolkits/axes_grid/colorbar.pyo ${PYSITELIB}/mpl_toolkits/axes_grid/floating_axes.py ${PYSITELIB}/mpl_toolkits/axes_grid/floating_axes.pyc ${PYSITELIB}/mpl_toolkits/axes_grid/floating_axes.pyo @@ -988,9 +977,6 @@ ${PYSITELIB}/mpl_toolkits/axes_grid1/axes_rgb.pyo ${PYSITELIB}/mpl_toolkits/axes_grid1/axes_size.py ${PYSITELIB}/mpl_toolkits/axes_grid1/axes_size.pyc ${PYSITELIB}/mpl_toolkits/axes_grid1/axes_size.pyo -${PYSITELIB}/mpl_toolkits/axes_grid1/colorbar.py -${PYSITELIB}/mpl_toolkits/axes_grid1/colorbar.pyc -${PYSITELIB}/mpl_toolkits/axes_grid1/colorbar.pyo ${PYSITELIB}/mpl_toolkits/axes_grid1/inset_locator.py ${PYSITELIB}/mpl_toolkits/axes_grid1/inset_locator.pyc ${PYSITELIB}/mpl_toolkits/axes_grid1/inset_locator.pyo diff --git a/graphics/py-matplotlib/distinfo b/graphics/py-matplotlib/distinfo index 0a343cfc6ea..3a1833682b8 100644 --- a/graphics/py-matplotlib/distinfo +++ b/graphics/py-matplotlib/distinfo @@ -1,8 +1,7 @@ -$NetBSD: distinfo,v 1.42 2021/02/07 15:31:44 adam Exp $ +$NetBSD: distinfo,v 1.43 2021/05/05 10:11:29 adam Exp $ -SHA1 (matplotlib-3.3.4.tar.gz) = a26c32c19f39d88ad6ae67e774b677c075a36eac -RMD160 (matplotlib-3.3.4.tar.gz) = 3d579c5c5f8734d7199be8880dfac4eec4248e89 -SHA512 (matplotlib-3.3.4.tar.gz) = aadfe3db4edde9940b9e15daf1b6c5f237d3a6f38610956ceee994f919d711fce818ea12be4db18aa2a8638c4e8f434d79541fecaa7233e233bf4c73792bc4c4 -Size (matplotlib-3.3.4.tar.gz) = 37941665 bytes +SHA1 (matplotlib-3.4.1.tar.gz) = 8e0933438b843cc2239e1ca708a40ca56a5fe44c +RMD160 (matplotlib-3.4.1.tar.gz) = 494973d4d5fd80a40766b92ccdff78f3b851ec9c +SHA512 (matplotlib-3.4.1.tar.gz) = 076510ddd152a395fabb76aa47566e9b75f3c8ba3c5246b39229b20fbfc209d4bbdfd441271b22e364f0974963309c02bdd0519fc2a7e8a406afc462f69246b6 +Size (matplotlib-3.4.1.tar.gz) = 37253296 bytes SHA1 (patch-setup.cfg) = 11dd8b9dd84005c8b195d86f0ccd5ff58502edf4 -SHA1 (patch-setupext.py) = eec84046e5cb4d9eebb838eb53d9fecd8485f443 diff --git a/graphics/py-matplotlib/patches/patch-setupext.py b/graphics/py-matplotlib/patches/patch-setupext.py deleted file mode 100644 index 890811ba0af..00000000000 --- a/graphics/py-matplotlib/patches/patch-setupext.py +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-setupext.py,v 1.1 2021/01/24 07:39:36 ryoon Exp $ - -* libqhull is not provided anymore by math/qhull since 2020.2. - Use libqhull_r instead. - ---- setupext.py.orig 2020-11-12 04:38:07.000000000 +0000 -+++ setupext.py -@@ -505,7 +505,7 @@ def add_libagg_flags_and_sources(ext): - - def add_qhull_flags(ext): - if options.get("system_qhull"): -- ext.libraries.append("qhull") -+ ext.libraries.append("qhull_r") - else: - ext.include_dirs.insert(0, "extern") - ext.sources.extend(sorted(glob.glob("extern/libqhull/*.c"))) |