8000 chore(deps): update dependency matplotlib to v3.5.1 by renovate-bot · Pull Request #7329 · GoogleCloudPlatform/python-docs-samples · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@renovate-bot
Copy link
Contributor

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
matplotlib (source) ==2.2.5 -> ==3.5.1 age adoption passing confidence
matplotlib (source) ==3.1.2 -> ==3.5.1 age adoption passing confidence

Release Notes

matplotlib/matplotlib

v3.5.1

Compare Source

This is the first bugfix release of the 3.5.x series.

This release contains several critical bug-fixes:

  • fix installation issues when setting a default backend
  • fix add_lines on horizontal colorbars
  • fix streamplot with start points on right or top edge
  • fix colorbars with boundaries or NoNorm
  • fix colorbars with negative contours
  • fix colorbars with tight layout
  • fix setting Axis label alignment to center
  • fix subfigure tight bounding box
  • fix subplot parameter window on macosx backend
  • fix unit handling in Collections.set_offsets
  • fix unyt integration in errorbar
  • re-display date offset in ConciseDataFormatter after zoom
  • reduce do_3d_projection deprecation warnings in external artists

v3.5.0

Compare Source

Highlights of this release include:

  • 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 parse_math option
    • Text can be positioned inside TextBox widget
    • Simplified 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 appearance of Slider widgets
    • Selector additions of clearing, dragging, and removal
    • CallbackRegistry objects gain a method to temporarily block signals
    • Directional sizing cursors
  • Sphinx extensions
    • More configuration of mathmpl sphinx extension
  • Backend-specific improvements
    • New GTK4 backend
    • New Qt6 backend
    • 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

v3.4.3

Compare Source

This is the third bugfix release of the 3.4.x series.

This release contains several critical bug-fixes:

  • Clarify deprecation of Axes.figbox
  • Disable MultiCursor widget on Axes subplots which it is not tracking
  • Don't simplify path in LineCollection.get_segments
  • Fix DPI in subfigures, affecting tick spacing, and scatter marker size
  • Fix broken EPS output when using Type 42 STIX fonts
  • Fix change in tick behaviour when calling Axes.clear
  • Fix class docstrings for Norms created from Scales
  • Fix compatibility with NumPy 1.21.0
  • Fix crash on broken TrueType fonts
  • Fix incorrect hits from Path.intersects_path
  • Fix leak if affine_transform is passed invalid vertices
  • Fix legends of stackplot with edgecolors='face'
  • Fix plot directive when building in parallel
  • Fix supxlabel and supylabel behaviour in constrained layout
  • Fix tests with latest Inkscape and Ghostscript
  • Improve DateFormatter styling for month names when usetex=True
  • Re-disable autoscaling after interactive zoom
  • Work around bug in Pillow 8.3.0

v3.4.2

Compare Source

This is the second bugfix release of the 3.4.x series.

This release contains several critical bug-fixes:

  • Generate wheels usable on older PyPy7.3.{0,1}
  • Fix compatibility with Python 3.10
  • Add subplot_mosaic Axes in the order the user gave them to us
  • Correctly handle 'none' facecolors in do_3d_projection
  • Ensure that Matplotlib is importable even if there's no HOME
  • Fix CenteredNorm with halfrange
  • Fix bar_label for bars with NaN values
  • Fix clip paths when zoomed such that they are outside the figure
  • Fix creation of RangeSlider with valinit
  • Fix handling of "d" glyph in backend_ps, fixing EPS output
  • Fix handling of datetime coordinates in pcolormesh with Pandas
  • Fix processing of some errorbar arguments
  • Fix removal of shared polar Axes
  • Fix resetting grid visibility
  • Fix subfigure indexing error and tight bbox
  • Fix textbox cursor color
  • Fix TkAgg event loop error on window close
  • Ignore errors for sip with no setapi (Qt4Agg import errors)

v3.4.1

Compare Source

This is the first bugfix release of the 3.4.x series.

This release contains several critical bug-fixes:

  • 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

v3.4.0

Compare Source

Highlights of this release include:

  • 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

v3.3.4

Compare Source

This is the fourth bugfix release of the 3.3.x series.

This release contains several critical bug-fixes:

  • Fix WebAgg initialization.
  • Fix parsing QT_API setting with mixed case.
  • Fix build with link-time optimization disabled in environment.
  • Fix test compatibility with NumPy 1.20.
  • Fix test compatibility with pytest 6.2.

v3.3.3

Compare Source

This is the third bugfix release of the 3.3.x series.

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.

v3.3.2

Compare Source

This is the second bugfix release of the 3.3.x series.

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

v3.3.1

Compare Source

This is the first bugfix release of the 3.3.x series.

This release contains several critical bug-fixes:

  • fix docstring import issues when running Python with optimization
  • fix hist with categorical data, such as with Pandas
  • fix install on BSD systems
  • fix nbagg compatibility with Chrome 84+
  • fix ordering of scatter marker size in 3D plots
  • fix performance regression when plotting Paths
  • fix reading from URL in imread
  • fix several regressions with new date epoch handling
  • fix some bad constrained and tight layout interactions with colorbars
  • fix use of customized toolbars in TkAgg and WXAgg backends

v3.3.0

Compare Source

Highlights of this release include:

  • Provisional API for composing semantic axes layouts from text or nested lists
  • New Axes.sharex, Axes.sharey methods
  • Turbo colormap
  • colors.BoundaryNorm supports extend keyword argument
  • Text color for legend labels
  • Pcolor and Pcolormesh now accept shading='nearest' and 'auto'
  • Allow tick formatters to be set with str or function inputs
  • New Axes.axline method
  • Dates use a modern epoch
  • Improved font weight detection
  • Axes3D no longer distorts the 3D plot to match the 2D aspect ratio
  • More consistent toolbar behavior across backends
  • Toolbar icons are now styled for dark themes
  • Cursor text now uses a number of significant digits matching pointing precision
  • Functions to compute a Path's size
  • savefig() gained a backend keyword argument
  • Saving SVG now supports adding metadata
  • Saving PDF metadata via PGF now consistent with PDF backend
  • NbAgg and WebAgg no longer use jQuery & jQuery UI

For the full details please see the What's New and API changes in the documentation.

v3.2.2

Compare Source

This is the second bugfix release of the 3.2.x series.

This release contains several critical bug-fixes:

  • support fractional HiDPI scaling with Qt backends
  • support new Python and fix syntax errors in legacy Python
  • support new Qt 5 and fix support for Qt 4
  • fix animation writer fallback
  • fix figure resizing
  • fix handling of large arcs
  • fix issues with tight layout
  • fix saving figures after closing windows or under certain size conditions
  • fix scatter when specifying a single color
  • fix several memor 8000 y leaks
  • fix unexpected autoscaling behavior
  • fix various issues with usetex
  • various minor bug and documentation fixes

v3.2.1

Compare Source

This is the first bugfix release of the 3.2.x series.

This release contains several critical bug-fixes:

  • fix Quiver.set_UVC calls with scalar inputs
  • fix bezier.get_parallels failure from floating point rounding errors
  • fix markers specified as tuples (polygons, stars, or asterisks)
  • fix saving PNGs to file objects in some places
  • fix saving figures using the nbAgg/notebook backend
  • fix saving with tight layout using the PGF backend
  • fix setting custom datapath in rcParams (note: it is still deprecated)
  • fix various issues running setup.py in non-CI environments
  • fix xpdf distiller
  • various minor bug and documentation fixes

v3.2.0

Compare Source

v3.1.3

Compare Source

v3.1.2

Compare Source

v3.1.1

Compare Source

The first bug-fix release of the 3.1 series

  • Locator.nonsingular return order API change

Lots of backports of various bug fixes.

v3.1.0

Compare Source

v3.0.3

Compare Source

v3.0.2

Compare Source

v3.0.1

Compare Source

v3.0.0

Compare Source


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate-bot renovate-bot requested a review from a team as a code owner January 7, 2022 23:29
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 7, 2022
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Jan 7, 2022
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 7, 2022
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 7, 2022
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 7, 2022
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 8, 2022
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 8, 2022
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 8, 2022
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 8, 2022
@leahecole leahecole merged commit e1497c5 into GoogleCloudPlatform:main Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0