Moved legends inside of plot.

The %matplotlib notebook back end does not account for things being
drown outside of the plot, and they end up getting partially or
fully cut off.
This commit is contained in:
Roger Labbe 2016-03-07 07:16:59 -08:00
parent 6f1fd2f16f
commit c32ca48542
2 changed files with 88 additions and 88 deletions

File diff suppressed because one or more lines are too long

View File

@ -79,7 +79,7 @@ def plot_g_h_results(measurements, filtered_data,
book_plots.plot_filter(filtered_data, **kwargs)
book_plots.plot_measurements(measurements, label=z_label)
book_plots.show_legend()
plt.legend(loc=4)
plt.title(title)
plt.gca().set_xlim(left=0,right=len(measurements))