Closed kaarelmand closed 3 years ago
Thank you for using mpltern and for letting me know the issue. My gut feeling says this is due to the update of matplotlib (I have a test up to 3.3.0 but not for the latest 3.3.2). I will survey the issue and would like to fix to make it work for matplotlib 3.3.2. If you kindly share your plotting code as well as tell me which matplotlib version you use, they are very helpful.
Thanks for replying! I am indeed using matplotlib 3.3.2. The entirety of the code needed to produce this issue is below:
import matplotlib.pyplot as plt
import mpltern
fig = plt.figure()
fig.add_subplot(projection='ternary')
plt.show()
Thank you for sharing the minimum code! I actually found that the issue occurs for the combination of mpltern 0.3.0 + matplotlib 3.3.X. With mpltern 0.3.1 and 0.3.2 (uploaded today), I think the issue has solved. Sorry that I did not upload mpltern 0.3.1 before in conda-forge. Now the newer mpltern 0.3.2 must be available both pip and conda.
Great, updating mpltern solved the issue! The package is really wonderful to work with. Hopefully you can add something to the citing papers list in a couple months, unless I'm skewered in review.
Nice to hear the code now worked! Thank you again for using mpltern. Please kindly let me know once you published your paper using mpltern, then I like to include it in the publication list:)
Hello,
I've been using
mpltern
without issue until today. However, now I get thisAttributeError
whenever I try to make a new ternary axes. I'm not sure what changed in the meanwhile. I'm usingmpltern
version 0.3.0.I'd appreciate any help in troubleshooting.