Closed tingvan closed 7 months ago
Thanks for the additional context here!
Unfortunately, I can't seem to replicate this on my end.
Could you print out the geocat-viz version from where you're working (i.e. using gv.__version__
)? It looks like you might have a different (custom) version installed or some sort of namespace conflict.
Hi, @kafitzgerald ,thanks for your reply!
My version of gv is 0.1.
It looks like you have a much older version 0.1 of geocat-viz installed in the environment you're working in, which doesn't line up with the environment info you listed. You might double check the environment to make sure you're using the intended one.
If you'd like to keep working in the current environment, you could also try removing the older version of geocat-viz and reinstalling an updated version.
I have solved this problem. I forgot to install the latest virtual environment into my ipykernel, thus I was using the old version of geocat-viz.
Thank you very much for your help, @kafitzgerald .
Glad you got things sorted out!
Describe the bug Im trying to reproduce the example 'NCL_polar_1.py' and I got this error when I run gv.set_map_boundary(ax, [-180, 180], [ -40, 90]). I also tried gv.util.set_map_boundary(ax, [-180, 180], [ -40, 90]), and it seems like this function has been removed (see attached screenshots).
Can someone help me? Appreciated!
To Reproduce
Expected behavior AttributeError Traceback (most recent call last)