1d stream plot does not appear in full after re-generation using sliders
Opened this issue · 0 comments
When a 1d stream plot is generated (see test notebook MuMoTtest_1dstream.ipynb
currently available on the 1dStream feature branch) then the size of the figure appears as defined (6 by 2 in) but when the plot is re-generated after moving the sliders then the plot appears to be cut. However, if one clicks on and holds the little symbol in the bottom right corner below the plot then it is possible to arbitrarily resize the figure (the plot itself seems correct and appears completely after proper manual resizing). Maybe it’s again something specific to the matplotlib version we are using. The difference with all other views is that for the 1d stream plot we are making use of the _fig_formatting_1D()
function within which the figure size is set using fig1dStream = plt.gcf()
and fig1dStream.set_size_inches(6, 2)
(with other ways of setting the figure size the same behaviour occurs).