Closed annahaynie closed 4 years ago
@annahaynie No, you're absolutely right. It does behave like that in the jupyter notebook, but I think @timothydmorton wanted the function to return an instance of matplotlib. At least that's what's implemented in the current test. Maybe he can clarify this after reviewing the commits.
In the notebook, if you don't want the figure to display twice, you can end the last line of your cell with a ;
-- that will suppress the output (meaning, it won't display twice).
@syasini I thought we decided that the "return fig" at the end was redundant and caused the plot to show twice? I may be misremembering