Skip to content

Commit

Permalink
Fix MarkerStyle for matplotlib compatibility (backport #1113) (#1145)
Browse files Browse the repository at this point in the history
This is an automatic backport of pull request #1113 done by
[Mergify](https://mergify.com).

Co-authored-by: Ramon Buckland <rbuckland@users.noreply.github.com>
  • Loading branch information
mergify[bot] and rbuckland authored Apr 17, 2023
1 parent ca98968 commit 38f26aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
class MplCurveDrawer(BaseCurveDrawer):
"""Curve drawer for MatplotLib backend."""

DefaultMarkers = MarkerStyle().filled_markers
DefaultMarkers = MarkerStyle.filled_markers
DefaultColors = tab10.colors

class PrefixFormatter(Formatter):
Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/matplotlib-fix-58d938b49771cf17.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
fixes:
- |
Fixed a deprecated Matplotlib ``MarkerStyle`` usage in the visualization module that was causing warnings in Matplotlib 3.6+.

0 comments on commit 38f26aa

Please sign in to comment.