I was using Matplotlib ver 2.2.2 on windows 10 using anaconda distribution.
Now I have upgraded anaconda distribution with Matplotlib ver 3.0.0. Facing
few issues with the code that was working fine with 2.2.2.
and output display is one long vertical line with some jumbled letters.
When I remove titght_layout() statement, I get adequate space in between the
plots, but legend overalps with title. How can I fix this overlap issue?
2. For all 3D plots figure size gets too small, compared to the size I used
to get with 2.2.2 version. It is the same for single plot or multiple
subplots in the figure. Even figsize=(15,10) produces very small figure as
attached here
<http://matplotlib.1069221.n5.nabble.com/file/t5188/3Dfigure_Sizeissue.png>
I was using Matplotlib ver 2.2.2 on windows 10 using anaconda distribution.
Now I have upgraded anaconda distribution with Matplotlib ver 3.0.0. Facing
few issues with the code that was working fine with 2.2.2.
and output display is one long vertical line with some jumbled letters.
When I remove titght_layout() statement, I get adequate space in between the
plots, but legend overalps with title. How can I fix this overlap issue?
Take the legend out of the layout: `leg = plt.legend(); leg.set_in_layout(False)` may help, but for 3-d plots there is still the spine issue. Sorry for the bother.
2. For all 3D plots figure size gets too small, compared to the size I used
to get with 2.2.2 version. It is the same for single plot or multiple
subplots in the figure. Even figsize=(15,10) produces very small figure as
attached here
<http://matplotlib.1069221.n5.nabble.com/file/t5188/3Dfigure_Sizeissue.png>
1. Tried your solution 'leg = plt.legend(); leg.set_in_layout(False)`,
unfortunately that has not helped
2. I am running the code in Jupyter Notebook, in the output cell I see
figure size much smaller with 3.0.0 compared to 2.2.2. For this post, I
saved these output figures from both 3.0.0 and 2.2.2 using mouse right click
and save, which by default saves in png format. Hope this helps
On 23 Oct 2018, at 09:15, Srinivasa Rao <srinivasrao.poladi at gmail.com> wrote:
1. Tried your solution 'leg = plt.legend(); leg.set_in_layout(False)`,
unfortunately that has not helped
2. I am running the code in Jupyter Notebook, in the output cell I see
figure size much smaller with 3.0.0 compared to 2.2.2. For this post, I
saved these output figures from both 3.0.0 and 2.2.2 using mouse right click
and save, which by default saves in png format. Hope this helps
I am not customizing spines or any other figure/axes/axis attributes. I am
plotting 3D data, for various combination of elevation and rotation
parameters, and adding title and legend for each of the axes(each
combination of elevation and rotation). Idea is to view the data from
different directions.
Regarding the figure size issue also, I am not specifying and dpi parameter,
but using default setup.
Encountered few issues with axes_grid1 toolkit functionality also with
version 3.0.0 compared to 2.2.2. Posted them in developer group.
I just want to make sure that I am not making any mistake at my end, and if
they are real issues with version 3.0.0, let development team know about
them so that they can fix them at some point.
Thanks once again for your attention and prompt response.
On Oct 23, 2018, at 20:05 PM, Srinivasa Rao <srinivasrao.poladi at gmail.com> wrote:
Thanks, Jody
I am not customizing spines or any other figure/axes/axis attributes. I am
plotting 3D data, for various combination of elevation and rotation
parameters, and adding title and legend for each of the axes(each
combination of elevation and rotation). Idea is to view the data from
different directions.
Regarding the figure size issue also, I am not specifying and dpi parameter,
but using default setup.
Encountered few issues with axes_grid1 toolkit functionality also with
version 3.0.0 compared to 2.2.2. Posted them in developer group.
I just want to make sure that I am not making any mistake at my end, and if
they are real issues with version 3.0.0, let development team know about
them so that they can fix them at some point.
Thanks once again for your attention and prompt response.