Skip to content

Commit 2806410

Browse files
committed
Fix violin test
1 parent 22ac522 commit 2806410

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9312,16 +9312,13 @@ def test_violinplot_orientation(fig_test, fig_ref):
93129312

93139313
plt.close()
93149314

9315-
# Deprecation of `vert: bool` keyword
9316-
with pytest.warns(mpl.MatplotlibDeprecationWarning,
9317-
match='vert: bool was deprecated in Matplotlib 3.10'):
9318-
# Compare images between a figure that
9319-
# uses vert and one that uses orientation.
9320-
ax_ref = fig_ref.subplots()
9321-
ax_ref.violinplot(all_data, vert=False)
9315+
# Compare images between a figure that
9316+
# uses vert and one that uses orientation.
9317+
ax_ref = fig_ref.subplots()
9318+
ax_ref.violinplot(all_data, vert=False)
93229319

9323-
ax_test = fig_test.subplots()
9324-
ax_test.violinplot(all_data, orientation='horizontal')
9320+
ax_test = fig_test.subplots()
9321+
ax_test.violinplot(all_data, orientation='horizontal')
93259322

93269323

93279324
@check_figures_equal(extensions=['png'])

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy