Skip to content

Commit

Permalink
add style unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkjames committed Jul 15, 2024
1 parent 6914597 commit a64272e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pyleoclim/tests/test_core_MulEnsGeoSeries.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,12 @@ def test_StackPlot_t4(self, ensemblegeoseries_basic, xticks_minor):
ens2 = ensemblegeoseries_basic
m_ens = pyleo.MulEnsGeoSeries([ens1,ens2])
fig, ax = m_ens.stackplot(xticks_minor=xticks_minor)
pyleo.closefig(fig)

@pytest.mark.parametrize('plot_style', ['envelope', 'traces'])
def test_StackPlot_t4(self, ensemblegeoseries_basic, plot_style):
ens1 = ensemblegeoseries_basic
ens2 = ensemblegeoseries_basic
m_ens = pyleo.MulEnsGeoSeries([ens1,ens2])
fig, ax = m_ens.stackplot(plot_style=plot_style)
pyleo.closefig(fig)

0 comments on commit a64272e

Please sign in to comment.