-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spot an error of mplstereonet while using Google Colab #34
Comments
Probably |
@fwrite thanks! I have found the issue of running mplstereonet in Google Colab using Python 3 runtime. I found mplstereonet working in Python 2 runtime instead. |
@yohanesnuwara |
I had the same issue in VSCode and Juypter Lab (using Anaconda managed environments) also resolved by updating to the development version as linked above #16 . Thanks joferkington for making and updating this tool. It's been a great help to my doctoral research. /opt/anaconda3/envs/Py36/lib/python3.6/site-packages/mplstereonet/stereonet_transforms.py in transform_non_affine(self, ll) TypeError: tuple indices must be integers or slices, not tuple |
As other folks mentioned, this has been fixed in master for quite awhile, but things were long overdue for a release. |
Hi @joferkington, I just tried the code of basic usage in Google Colab 2 weeks ago and it succeeded, but when I re-try to plot in Google Colab again, I spot an error that I couldn't solve. It's related to code:
ax = fig.add_subplot(111, projection='stereonet')
. The error is as follows:I also attached my Colab notebook to you, link here. Is there something wrong or missing in my codes? Looking forward for your help :)
The text was updated successfully, but these errors were encountered: