Skip to content

Commit

Permalink
ax missing
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainp committed Feb 10, 2018
1 parent 5f74b12 commit 2b19211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smrt/utils/mpl_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def plot_snowpack(sp, show_vars=None, show_shade=False, ax=None):
ax.plot((0, 100*xmax), (z, z), '0.5')

if show_vars:
plt.text(0.8*xmax, z+lay.thickness/2, format_vars(lay, show_vars))
ax.text(0.8*xmax, z+lay.thickness/2, format_vars(lay, show_vars))

ax.set_frame_on(False)
ax.get_xaxis().set_visible(False)
Expand Down

0 comments on commit 2b19211

Please sign in to comment.