Skip to content

Commit

Permalink
update tests for outside legends
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann authored and gidden committed Mar 19, 2019
1 parent d575547 commit 9f30ee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ def test_line_plot(plot_df):
@pytest.mark.mpl_image_compare(**MPL_KWARGS)
def test_line_plot_dict_legend(plot_df):
fig, ax = plt.subplots(figsize=(8, 8))
plot_df.line_plot(ax=ax, legend=plotting.OUTSIDE_LEGEND['right'])
plot_df.line_plot(ax=ax, legend=dict(loc='outside right'))
return fig


@pytest.mark.mpl_image_compare(**MPL_KWARGS)
def test_line_plot_bottom_legend(plot_df):
fig, ax = plt.subplots(figsize=(8, 8))
plot_df.line_plot(ax=ax, legend=plotting.OUTSIDE_LEGEND['bottom'])
plot_df.line_plot(ax=ax, legend=dict(loc='outside bottom'))
return fig


Expand Down

0 comments on commit 9f30ee5

Please sign in to comment.