Skip to content

Commit

Permalink
tests/eas/generic: Fix matplotlib import
Browse files Browse the repository at this point in the history
tests/eas/ was missing an __init__.py, which meant the backend set in
tests/__init__.py wouldn't be used.

This commit also removes the fill_between() call that is used to draw
the expected_placement figure, as it seems the desired behaviour is
not supported with the Agg backend ("Unknown property step").
  • Loading branch information
Valentin Schneider committed Dec 13, 2017
1 parent 6a2f080 commit 443c992
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 1 deletion.
Empty file added tests/eas/__init__.py
Empty file.
1 change: 0 additions & 1 deletion tests/eas/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ def plot_expected_util(self, experiment, util_df):
color = 'red'

tdf.plot(ax=ax[cpu], drawstyle='steps-post', title="CPU{}".format(cpu), color=color)
ax[cpu].fill_between(tdf.index, tdf, 0, step='post', color=color)
ax[cpu].set_ylabel('Utilization')

# Grey-out areas where utilization == 0
Expand Down

0 comments on commit 443c992

Please sign in to comment.