We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c5813d commit 7e2bcdaCopy full SHA for 7e2bcda
tests/test_components/test_viz.py
@@ -336,6 +336,9 @@ def test_sim_plot_structures_fill():
336
337
def test_tidy3d_matplotlib_style_application_on_import():
338
"""Test restore_matplotlib_rcparams() to reset the automatically applied matplotlib.rcParams"""
339
- assert mpl.rcParams.get("axes.edgecolor") == "#ECEBEA"
+ assert mpl.rcParams.get("axes.prop_cycle").by_key()["color"][0] == "#176737"
340
restore_matplotlib_rcparams()
341
- assert mpl.rcParams.get("axes.edgecolor") == mpl.rcParamsDefault.get("axes.edgecolor")
+ assert (
342
+ mpl.rcParams.get("axes.prop_cycle").by_key()["color"][0]
343
+ == mpl.rcParamsDefault.get("axes.prop_cycle").by_key()["color"][0]
344
+ )
0 commit comments