./graphics/py-matplotlib, Matlab-style plotting package for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 3.7.1, Package name: py310-matplotlib-3.7.1, Maintainer: pkgsrc-users

matplotlib is a pure python plotting library designed to bring
publication quality plotting to python with a syntax familiar to
matlab users. A lot progress towards this goal has been made since
the first release of matplotlib, the library does produce high quality
2D plots. All of the plotting commands can be accessed either via a
functional interface familiar to matlab users or an object oriented
interface familiar to python users, and several high resolution output
formats are supported.

Tutorial: https://matplotlib.org/users/tutorials.html

Required to run:
[graphics/freetype2] [graphics/png] [graphics/py-cairo] [devel/py-setuptools] [time/py-dateutil] [math/py-numpy] [devel/py-pyparsing] [graphics/py-Pillow] [graphics/py-cycler] [math/py-kiwisolver] [lang/python37]

Required to build:

Master sites:

Filesize: 37113.063 KB

Version history: (Expand)

CVS history: (Expand)

   2023-03-05 08:18:30 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-matplotlib: updated to 3.7.1


Ensure Qhull license is included in binary wheels
Fix application of rcParams on Axes labels
Fix compatibility with Pandas datetime unit converter
Fix compatibility with latest GTK4
Fix import of styles with relative path
Fix Lasso unresponsiveness when clicking and immediately releasing
Fix pickling of draggable legends
Fix RangeSlider.set_val when new value is outside existing value
Fix size of Tk spacers when changing display DPI
Fix wrapped text in constrained layout
Improve compatibility with third-party backends
Improve error if animation save path does not exist


Plotting and Annotation improvements
hatch parameter for pie
Polar plot errors drawn in polar coordinates
Additional format string options in ~matplotlib.axes.Axes.bar_label
ellipse boxstyle option for annotations
The extent of imshow can now be expressed with units
Reversed order of legend entries
pcolormesh accepts RGB(A) colors
View current appearance settings for ticks, tick labels, and gridlines
Style files can be imported from third-party packages
Improvements to 3D Plotting
3D plot pan and zoom buttons
adjustable keyword argument for setting equal aspect ratios in 3D
Poly3DCollection supports shading
rcParam for 3D pane color
Figure and Axes Layout
colorbar now has a location keyword argument
Figure legends can be placed outside figures using constrained_layout
Per-subplot keyword arguments in subplot_mosaic
subplot_mosaic no longer provisional
Widget Improvements
Custom styling of button widgets
Blitting in Button widgets
Other Improvements
Source links can be shown or hidden for each Sphinx plot directive
Figure hooks
New & Improved Narrative Documentation
Brand new :doc:Animations </tutorials/introductory/animation_tutorial> \ 
New grouped and stacked bar chart \ 
<../../gallery/index.html#lines_bars_and_markers>_ examples.
New section for new contributors and reorganized git instructions in the \ 
:ref:contributing guide<contributing>.
Restructured :doc:/tutorials/text/annotations tutorial.
   2023-01-29 22:18:34 by Ryo ONODERA | Files touched by this commit (2527)
Log message:
*: Recursive revbup from graphics/freetype2
   2023-01-16 15:30:40 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-matplotlib: updated to 3.6.3

Matplotlib 3.6.3

This release contains several bug-fixes and adjustments:

   * Fix Artist removal from |axes_grid1| Axes classes
   * Fix |inset_locator| in subfigures
   * Fix |scatter| on masked arrays with units
   * Fix colorbar ticks with log norm contours
   * Fix deprecation warnings in GTK4 backend
   * Fix using relative paths in |HTMLWriter|
   * Improve failure message from rcParams string validation for tuple inputs
   * Improve performance of QtAgg backends
   * No longer modify |pil_kwargs| argument to |imsave| and |savefig|
   2022-11-14 10:57:40 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-matplotlib: updated to 3.6.2

REL: v3.6.2

This release contains several bug-fixes and adjustments:

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)
   2022-10-13 18:04:39 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-matplotlib: updated to 3.6.1

Matplotlib 3.6.0

* Figure and Axes creation / management
    o |subplots|, |subplot_mosaic| accept /height_ratios/ and
      /width_ratios/ arguments
    o Constrained layout is no longer considered experimental
    o New |layout_engine| module
    o Compressed layout added for fixed-aspect ratio Axes
    o Layout engines may now be removed
    o |Axes.inset_axes| flexibility
    o WebP is now a supported output format
    o Garbage collection is no longer run on figure close
* Plotting methods
    o Striped lines (experimental)
    o Custom cap widths in box and whisker plots in |bxp| and |boxplot|
    o Easier labelling of bars in bar plot
    o New style format string for colorbar ticks
    o Linestyles for negative contours may be set individually
    o Improved quad contour calculations via ContourPy
    o |errorbar| supports /markerfacecoloralt/
    o |streamplot| can disable streamline breaks
    o New axis scale |asinh| (experimental)
    o |stairs(..., fill=True)| hides patch edge by setting linewidth
    o Fix the dash offset of the |Patch| class
    o |Rectangle| patch rotation point
* Colors and colormaps
    o Color sequence registry
    o Colormap method for creating a different lookup table size
    o Setting norms with strings
* Titles, ticks, and labels
    o |plt.xticks| and |plt.yticks| support /minor/ keyword argument
* Legends
    o Legend can control alignment of title and handles
    o /ncol/ keyword argument to |legend| renamed to /ncols/
* Markers
    o |marker| can now be set to the string "none"
    o Customization of |MarkerStyle| join and cap style
* Fonts and Text
    o Font fallback
    o List of available font names
    o |math_to_image| now has a /color/ keyword argument
    o Active URL area rotates with link text
* rcParams improvements
    o Allow setting figure label size and weight globally and
      separately from title
    o Mathtext parsing can be disabled globally
    o Double-quoted strings in matplotlibrc
* 3D Axes improvements
    o Standardized views for primary plane viewing angles
    o Custom focal length for 3D camera
    o 3D plots gained a 3rd "roll" viewing angle
    o Equal aspect ratio for 3D plots
* Interactive tool improvements
    o Rotation, aspect ratio correction and add/remove state
    o |MultiCursor| now supports Axes split over multiple figures
    o |PolygonSelector| bounding boxes
    o Setting |PolygonSelector| vertices
    o |SpanSelector| widget can now be snapped to specified values
    o More toolbar icons are styled for dark themes
* Platform-specific changes
    o Wx backend uses standard toolbar
    o Improvements to macosx backend
        + Modifier keys handled more consistently
        + |savefig.directory| rcParam support
        + |figure.raise_window| rcParam support
        + Full-screen toggle support
        + Improved animation and blitting support
    o macOS application icon applied on Qt backend
    o New minimum macOS version
    o Windows on ARM support
   2022-09-12 10:08:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-matplotlib: updated to 3.5.3


This release contains several bug-fixes and adjustments:

Fix alignment of over/under symbols
Fix bugs in colorbars:
alpha of extensions
drawedges=True with extensions
handling of panchor=False
Fix builds on Cygwin and IBM i
Fix contour labels in SubFigures
Fix cursor output:
for imshow with all negative values
when using BoundaryNorm
Fix interactivity in IPython/Jupyter
Fix NaN handling in errorbar
Fix NumPy conversion from AstroPy unit arrays
Fix positional markerfmt passed to stem
Fix unpickling:
crash loading in a separate process
incorrect DPI when HiDPI screens
   2022-06-18 23:07:14 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-matplotlib: add missing build dependency
   2022-06-16 17:24:40 by Ryo ONODERA | Files touched by this commit (5)
Log message:
py-matplotlib: Update to 3.5.2

* Use mplsetup.cfg to use freetype2 and qhull from pkgsrc
  to avoid build-time downloading.

* Preliminary support for Windows on arm64 target has been added;
  this requires FreeType 2.11 or above.


What's new in Matplotlib 3.5.0 (Nov 15, 2021)
    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