Skip to content

Conversation

@stakaz
Copy link
Contributor

@stakaz stakaz commented Sep 9, 2021

Replaced gca(projection="3d") with plt.axes(projection="3d") as is needed for matplotlib 3.4.2 and later.

The gca() command does not acept keyword arguments anymore.

@PaulSoderlind
Copy link

Maybe I typed in my comment at the wrong place. Here we go again:

Thanks, but I think this might be a problem when you do 3D subplots and even more so on matplotlib 3.3. What seems to work with both matplotlib 3.3&3.4 and also with both standard plots&subplots is this:

PyPlot.version <= v"3.4" ? ax = gca(projection="3d") : ax = plt.subplot(projection="3d")

@stakaz
Copy link
Contributor Author

stakaz commented Sep 9, 2021

Ok, I changed it to your proposed version.

@stakaz stakaz mentioned this pull request Sep 11, 2021
@stevengj stevengj merged commit 4da0d5d into JuliaPy:master Sep 13, 2021
@stakaz
Copy link
Contributor Author

stakaz commented Sep 13, 2021

Thanks, sorry for this small indentation error ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants