Skip to content

Commit

Permalink
[plots] return CS in contour (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstangl authored and DavidMStraub committed Mar 15, 2019
1 parent 48347a1 commit 47c3581
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flavio/plots/plotfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ def contour(x, y, z, levels,
CS = ax.contour(x, y, z, levels=levels, **_contour_args)
if label is not None:
CS.collections[0].set_label(label)
return CS


def flavio_branding(x=0.8, y=0.94, version=True):
Expand Down

0 comments on commit 47c3581

Please sign in to comment.