doesn't automatically plot the legend, meaning that when user triggers this themselves the "Sample" label won't appear automatically because there is nowhere to store it within the plot1d method without calling legend.
Should we include the legend automatically so that the legend title can be read from the axis info? The downside the user having slightly worse access to the legend object compared to they themselves running leg = plt.legend()
Currently running
doesn't automatically plot the legend, meaning that when user triggers this themselves the "Sample" label won't appear automatically because there is nowhere to store it within the plot1d method without calling legend.
Should we include the legend automatically so that the legend title can be read from the axis info? The downside the user having slightly worse access to the legend object compared to they themselves running
leg = plt.legend()