Closed JosephKarpinski closed 3 years ago
Python 3.8.5 64-bit('base': conda) on iMac running Big Sur 11.3
Downloading butterpy-0.1.0-py3-none-any.whl (14 kB) Requirement already satisfied: astropy in ./opt/anaconda3/lib/python3.8/site-packages (from butterpy) (4.2.1) Requirement already satisfied: tqdm in ./opt/anaconda3/lib/python3.8/site-packages (from butterpy) (4.50.2) Requirement already satisfied: numpy in ./opt/anaconda3/lib/python3.8/site-packages (from butterpy) (1.20.2) Requirement already satisfied: pandas in ./opt/anaconda3/lib/python3.8/site-packages (from butterpy) (1.2.4) Requirement already satisfied: scipy in ./opt/anaconda3/lib/python3.8/site-packages (from butterpy) (1.6.2) Requirement already satisfied: matplotlib in ./opt/anaconda3/lib/python3.8/site-packages (from butterpy) (3.4.1) Requirement already satisfied: pyerfa in ./opt/anaconda3/lib/python3.8/site-packages (from astropy->butterpy) (1.7.2) Requirement already satisfied: python-dateutil>=2.7.3 in ./opt/anaconda3/lib/python3.8/site-packages (from pandas->butterpy) (2.8.1) Requirement already satisfied: pytz>=2017.3 in ./opt/anaconda3/lib/python3.8/site-packages (from pandas->butterpy) (2021.1) Requirement already satisfied: pyparsing>=2.2.1 in ./opt/anaconda3/lib/python3.8/site-packages (from matplotlib->butterpy) (2.4.7) Requirement already satisfied: kiwisolver>=1.0.1 in ./opt/anaconda3/lib/python3.8/site-packages (from matplotlib->butterpy) (1.3.1) Requirement already satisfied: cycler>=0.10 in ./opt/anaconda3/lib/python3.8/site-packages (from matplotlib->butterpy) (0.10.0) Requirement already satisfied: pillow>=6.2.0 in ./opt/anaconda3/lib/python3.8/site-packages (from matplotlib->butterpy) (8.2.0) Requirement already satisfied: six>=1.5 in ./opt/anaconda3/lib/python3.8/site-packages (from python-dateutil>=2.7.3->pandas->butterpy) (1.15.0) Installing collected packages: butterpy Successfully installed butterpy-0.1.0
conda install -c conda-forge cartopy Collecting package metadata (current_repodata.json): done Solving environment: done
environment location: /Users/josephkarpinski/opt/anaconda3
added / updated specs:
The following packages will be downloaded:
package | build
---------------------------|-----------------
cartopy-0.18.0 | py38hf1ba7ce_1 1.7 MB
geos-3.8.0 | h4a8c4bd_1 898 KB conda-forge
proj-6.2.1 | h773a61f_0 10.0 MB conda-forge
pyshp-2.1.3 | pyh44b312d_0 36 KB conda-forge
shapely-1.7.1 | py38hb435bde_0 375 KB
------------------------------------------------------------
Total: 13.0 MB
The following NEW packages will be INSTALLED:
cartopy pkgs/main/osx-64::cartopy-0.18.0-py38hf1ba7ce_1 geos conda-forge/osx-64::geos-3.8.0-h4a8c4bd_1 proj conda-forge/osx-64::proj-6.2.1-h773a61f_0 pyshp conda-forge/noarch::pyshp-2.1.3-pyh44b312d_0 shapely pkgs/main/osx-64::shapely-1.7.1-py38hb435bde_0
Proceed ([y]/n)? y
Downloading and Extracting Packages proj-6.2.1 | 10.0 MB | ##################################### | 100% pyshp-2.1.3 | 36 KB | ##################################### | 100% shapely-1.7.1 | 375 KB | ##################################### | 100% geos-3.8.0 | 898 KB | ##################################### | 100% cartopy-0.18.0 | 1.7 MB | ##################################### | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done
This may be related to the above issue:
from IPython.display import HTML ani_html = ani.to_jshtml() HTML(ani_html)
TypeError Traceback (most recent call last) ~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/_constrained_layout.py in _get_pos_and_bbox(ax, renderer) 452 try: --> 453 tightbbox = ax.get_tightbbox(renderer=renderer, for_layout_only=True) 454 except TypeError:
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/axes/_base.py in get_tightbbox(self, renderer, call_axes_locator, bbox_extra_artists, for_layout_only) 4487 continue -> 4488 bbox = a.get_tightbbox(renderer) 4489 if (bbox is not None
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/artist.py in get_tightbbox(self, renderer) 305 """ --> 306 bbox = self.get_window_extent(renderer) 307 if self.get_clip_on():
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/collections.py in get_window_extent(self, renderer) 304 # cases other than scatter plot legend --> 305 return self.get_datalim(transforms.IdentityTransform()) 306
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/collections.py in get_datalim(self, transData) 264 if not transform.is_affine: --> 265 paths = [transform.transform_path_non_affine(p) for p in paths] 266 # Don't convert transform to transform.get_affine() here because
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/collections.py in
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/transforms.py in transform_path_non_affine(self, path) 2395 elif not self._a.is_affine and self._b.is_affine: -> 2396 return self._a.transform_path_non_affine(path) 2397 else:
~/opt/anaconda3/lib/python3.8/site-packages/cartopy/mpl/geoaxes.py in transform_path_non_affine(self, src_path) 199 for geom in geoms: --> 200 proj_geom = self.target_projection.project_geometry( 201 geom, self.source_projection)
~/opt/anaconda3/lib/python3.8/site-packages/cartopy/crs.py in project_geometry(self, geometry, src_crs) 217 'type {!r}'.format(geom_type)) --> 218 return getattr(self, method_name)(geometry, src_crs) 219
~/opt/anaconda3/lib/python3.8/site-packages/cartopy/crs.py in _project_multiline(self, geometry, src_crs) 322 for geom in geometry.geoms: --> 323 r = self._project_line_string(geom, src_crs) 324 if r:
~/opt/anaconda3/lib/python3.8/site-packages/cartopy/crs.py in _project_line_string(self, geometry, src_crs) 223 def _project_line_string(self, geometry, src_crs): --> 224 return cartopy.trace.project_linear(geometry, src_crs, self) 225
lib/cartopy/trace.pyx in cartopy.trace.project_linear()
lib/cartopy/trace.pyx in cartopy.trace.geos_from_shapely()
TypeError: an integer is required
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
I was able to reproduce this error. Found a similar issue here.
It turns out "%matploblib notebook" doesn't agree with the animation features. I didn't run into this in Jupyter, so it's interesting that it popped up for VSCode. Anyway, I fixed it by changing "%matplotlib notebook" to "%matplotlib inline" in the first notebook cell. This update has been pushed to the repository. If it works for you, I'll close the issue and update the PyPI package.
I’ll try that fix again, I did try the inline option, before posting. Think it produces other errors further down. Will check.
Sent from my iPhone
On May 3, 2021, at 5:47 PM, Zach Claytor @.***> wrote:
I was able to reproduce this error. Found a similar issue herehttps://github.com/nteract/nteract/issues/1359.
It turns out "%matploblib notebook" doesn't agree with the animation features. I didn't run into this in Jupyter, so it's interesting that it popped up for VSCode. Anyway, I fixed it by changing "%matplotlib notebook" to "%matplotlib inline" in the first notebook cell. This update has been pushed to the repository. If it works for you, I'll close the issue and update the PyPI package.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/zclaytor/butterpy/issues/2#issuecomment-831556049, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI3HMIBLITUQ6DD3EXWKJ5TTL4KV7ANCNFSM44BBW2HA.
import numpy as np import pandas as pd import butterpy as bp
%matplotlib inline
import butterpy print(butterpy.version) 0.1.0
ani = spots.ortho_animation(time, lc, interval=200, fig_kw=dict(figsize=(3, 3.6), constrained_layout=True));
TypeError Traceback (most recent call last) ~/opt/anaconda3/lib/python3.8/site-packages/IPython/core/formatters.py in call(self, obj) 339 pass 340 else: --> 341 return printer(obj) 342 # Finally look for special method names 343 method = get_real_method(obj, self.print_method)
~/opt/anaconda3/lib/python3.8/site-packages/IPython/core/pylabtools.py in
~/opt/anaconda3/lib/python3.8/site-packages/IPython/core/pylabtools.py in print_figure(fig, fmt, bbox_inches, kwargs) 130 FigureCanvasBase(fig) 131 --> 132 fig.canvas.print_figure(bytes_io, kw) 133 data = bytes_io.getvalue() 134 if fmt == 'svg':
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/backend_bases.py in print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, bbox_inches, pad_inches, bbox_extra_artists, backend, **kwargs) 2228 else suppress()) 2229 with ctx: -> 2230 self.figure.draw(renderer) 2231 2232 if bbox_inches:
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, kwargs) 72 @wraps(draw) 73 def draw_wrapper(artist, renderer, *args, *kwargs): ---> 74 result = draw(artist, renderer, args, kwargs) 75 if renderer._rasterizing: 76 renderer.stop_rasterizing()
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, *kwargs) 49 renderer.start_filter() 50 ---> 51 return draw(artist, renderer, args, **kwargs) 52 finally: 53 if artist.get_agg_filter() is not None:
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/figure.py in draw(self, renderer) 2735 2736 self.patch.draw(renderer) -> 2737 mimage._draw_list_compositing_images( 2738 renderer, self, artists, self.suppressComposite) 2739
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/image.py in _draw_list_compositing_images(renderer, parent, artists, suppress_composite) 130 if not_composite or not has_images: 131 for a in artists: --> 132 a.draw(renderer) 133 else: 134 # Composite any adjacent images together
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, *kwargs) 49 renderer.start_filter() 50 ---> 51 return draw(artist, renderer, args, **kwargs) 52 finally: 53 if artist.get_agg_filter() is not None:
~/opt/anaconda3/lib/python3.8/site-packages/cartopy/mpl/geoaxes.py in draw(self, renderer, kwargs) 477 self._done_img_factory = True 478 --> 479 return matplotlib.axes.Axes.draw(self, renderer=renderer, kwargs) 480 481 def _update_title_position(self, renderer):
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, *kwargs) 49 renderer.start_filter() 50 ---> 51 return draw(artist, renderer, args, **kwargs) 52 finally: 53 if artist.get_agg_filter() is not None:
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/_api/deprecation.py in wrapper(inner_args, inner_kwargs) 429 else deprecation_addendum, 430 kwargs) --> 431 return func(inner_args, **inner_kwargs) 432 433 return wrapper
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/axes/_base.py in draw(self, renderer, inframe) 2923 renderer.stop_rasterizing() 2924 -> 2925 mimage._draw_list_compositing_images(renderer, self, artists) 2926 2927 renderer.close_group('axes')
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/image.py in _draw_list_compositing_images(renderer, parent, artists, suppress_composite) 130 if not_composite or not has_images: 131 for a in artists: --> 132 a.draw(renderer) 133 else: 134 # Composite any adjacent images together
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, *kwargs) 49 renderer.start_filter() 50 ---> 51 return draw(artist, renderer, args, **kwargs) 52 finally: 53 if artist.get_agg_filter() is not None:
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/collections.py in draw(self, renderer) 350 self.update_scalarmappable() 351 --> 352 transform, transOffset, offsets, paths = self._prepare_points() 353 354 gc = renderer.new_gc()
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/collections.py in _prepare_points(self) 327 328 if not transform.is_affine: --> 329 paths = [transform.transform_path_non_affine(path) 330 for path in paths] 331 transform = transform.get_affine()
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/collections.py in
~/opt/anaconda3/lib/python3.8/site-packages/matplotlib/transforms.py in transform_path_non_affine(self, path) 2394 return path 2395 elif not self._a.is_affine and self._b.is_affine: -> 2396 return self._a.transform_path_non_affine(path) 2397 else: 2398 return self._b.transform_path_non_affine(
~/opt/anaconda3/lib/python3.8/site-packages/cartopy/mpl/geoaxes.py in transform_path_non_affine(self, src_path) 198 199 for geom in geoms: --> 200 proj_geom = self.target_projection.project_geometry( 201 geom, self.source_projection) 202 transformed_geoms.append(proj_geom)
~/opt/anaconda3/lib/python3.8/site-packages/cartopy/crs.py in project_geometry(self, geometry, src_crs) 216 raise ValueError('Unsupported geometry ' 217 'type {!r}'.format(geom_type)) --> 218 return getattr(self, method_name)(geometry, src_crs) 219 220 def _project_point(self, point, src_crs):
~/opt/anaconda3/lib/python3.8/site-packages/cartopy/crs.py in _project_multiline(self, geometry, src_crs) 321 geoms = [] 322 for geom in geometry.geoms: --> 323 r = self._project_line_string(geom, src_crs) 324 if r: 325 geoms.extend(r.geoms)
~/opt/anaconda3/lib/python3.8/site-packages/cartopy/crs.py in _project_line_string(self, geometry, src_crs) 222 223 def _project_line_string(self, geometry, src_crs): --> 224 return cartopy.trace.project_linear(geometry, src_crs, self) 225 226 def _project_linear_ring(self, linear_ring, src_crs):
lib/cartopy/trace.pyx in cartopy.trace.project_linear()
lib/cartopy/trace.pyx in cartopy.trace.geos_from_shapely()
TypeError: an integer is required
import butterpy print(butterpy.version) 0.1.0
import matplotlib print(matplotlib.version) 3.4.1
import numpy print(numpy.version) 1.20.2
import pandas print(pandas.version) 1.2.4
Thanks for the helpful feedback. I can't reproduce the error using the same package plan on Ubuntu. I'm wondering if the problem is in the pre-built cartopy
dependencies for MacOS.
I can think of 2 things that might be helpful:
If neither of those works, I'll change the package OS requirement to Linux-only until I can run further tests.
import cartopy print(cartopy.version) 0.18.0
No luck on cartopy 0.19.0
ERROR: Failed building wheel for cartopy Failed to build cartopy ERROR: Could not build wheels for cartopy which use PEP 517 and cannot be installed directly
Seems like a lot of upgrading. Will give this another look tomorrow. But I will probably pass on this. To many other packages configured that I would rather not break.
checked: https://scitools.org.uk/cartopy/docs/latest/installing.html
Required dependencies
In order to install Cartopy, or to access its basic functionality, it will be necessary to first install GEOS, Shapely, and pyshp. Many of these packages can be installed using pip or other package managers such as apt-get (Linux) and brew (macOS). Many of these dependencies are built as part of Cartopy’s conda distribution, and the recipes for these packages can be found at https://github.com/conda-forge/feedstocks.
For macOS, the required dependencies can be installed in the following way:
brew install proj geos pip3 install --upgrade pyshp
pip3 install shapely --no-binary shapely Still on macOS, make sure you have installed pkg-config and set the PKG_CONFIG_PATH environment variable as follows
brew install pkg-config export PKG_CONFIG_PATH=/usr/local/bin/pkgconfig
Then you can install cartopy using
pip3 install cartopy
The original reported problem was tracked to using %matplotlib notebook. Switching to %matplotlib inline corrected that.
Secondary Shell is not a LinearRing and TypeError: an integer is required were duplicated using Cartopy Gallery examples https://scitools.org.uk/cartopy/docs/latest/gallery/index.html
Multiple conda/pip attempts to remove and install geopandas and Cartopy failed to correct the problem. Even in a new clean conda environment.
Since this now appears to be a Python bases code issue running on MacOs Big Sur, closing this open issue.
Got it to work!
Rebuilt minimum conda Python 3.8.5 environment, then added packages till code worked. Conda install of carroty. pip install of buttery
(env385) josephkarpinski@Josephs-iMac ~ % conda list
#
appnope 0.1.2 py38h50d1736_1 conda-forge
argon2-cffi 20.1.0 py38h5406a74_2 conda-forge
astropy 4.2.1 py38h96a0964_0 conda-forge
astroquery 0.4.1 pyh9f0ad1d_0 conda-forge
async_generator 1.10 py_0 conda-forge
attrs 20.3.0 pyhd3deb0d_0 conda-forge
autograd 1.3 py_0 conda-forge
backcall 0.2.0 pyh9f0ad1d_0 conda-forge
backports 1.0 py_2 conda-forge
backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge
beautifulsoup4 4.9.3 pyhb0f4dca_0 conda-forge
bleach 3.3.0 pyh44b312d_0 conda-forge
bokeh 2.3.1 py38h50d1736_0 conda-forge
brotlipy 0.7.0 py38h5406a74_1001 conda-forge
butterpy 0.1.0 pypi_0 pypi
c-ares 1.17.1 h0d85af4_1 conda-forge
ca-certificates 2020.12.5 h033912b_0 conda-forge
cartopy 0.19.0 py38h4be4431_0 conda-forge
certifi 2020.12.5 py38h50d1736_1 conda-forge
cffi 1.14.5 py38ha97d567_0 conda-forge
chardet 4.0.0 py38h50d1736_1 conda-forge
cryptography 3.4.7 py38h1fa4640_0 conda-forge
cycler 0.10.0 py_2 conda-forge
decorator 5.0.7 pyhd8ed1ab_0 conda-forge
defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge
entrypoints 0.3 pyhd8ed1ab_1003 conda-forge
fbpca 1.0 py_0 conda-forge
freetype 2.10.4 h4cff582_1 conda-forge
future 0.18.2 py38h50d1736_3 conda-forge
geos 3.9.1 he49afe7_2 conda-forge
html5lib 1.1 pyh9f0ad1d_0 conda-forge
idna 2.10 pyh9f0ad1d_0 conda-forge
importlib-metadata 4.0.1 py38h50d1736_0 conda-forge
importlib_metadata 4.0.1 hd8ed1ab_0 conda-forge
ipykernel 5.5.3 py38h6c79ece_0 conda-forge
ipython 7.23.0 py38h6c79ece_0 conda-forge
ipython_genutils 0.2.0 py_1 conda-forge
ipywidgets 7.6.3 pyhd3deb0d_0 conda-forge
jedi 0.18.0 py38h50d1736_2 conda-forge
jinja2 2.11.3 pyh44b312d_0 conda-forge
joblib 1.0.1 pyhd8ed1ab_0 conda-forge
jpeg 9d hbcb3906_0 conda-forge
jsonschema 3.2.0 pyhd8ed1ab_3 conda-forge
jupyter_client 6.1.12 pyhd8ed1ab_0 conda-forge
jupyter_core 4.7.1 py38h50d1736_0 conda-forge
jupyterlab_pygments 0.1.2 pyh9f0ad1d_0 conda-forge
jupyterlab_widgets 1.0.0 pyhd8ed1ab_1 conda-forge
keyring 23.0.1 py38h50d1736_0 conda-forge
kiwisolver 1.3.1 py38hd9c93a9_1 conda-forge
krb5 1.17.2 h60d9502_0 conda-forge
lcms2 2.12 h577c468_0 conda-forge
libblas 3.9.0 9_openblas conda-forge
libcblas 3.9.0 9_openblas conda-forge
libcurl 7.76.1 h8ef9fac_1 conda-forge
libcxx 11.1.0 habf9029_0 conda-forge
libedit 3.1.20191231 h0678c8f_2 conda-forge
libev 4.33 haf1e3a3_1 conda-forge
libffi 3.3 h046ec9c_2 conda-forge
libgfortran 5.0.0 9_3_0_h6c81a4c_22 conda-forge
libgfortran5 9.3.0 h6c81a4c_22 conda-forge
liblapack 3.9.0 9_openblas conda-forge
libnghttp2 1.43.0 h07e645a_0 conda-forge
libopenblas 0.3.15 openmp_h5e1b9a4_0 conda-forge
libpng 1.6.37 h7cec526_2 conda-forge
libsodium 1.0.18 hbcb3906_1 conda-forge
libssh2 1.9.0 h52ee1ee_6 conda-forge
libtiff 4.2.0 h7c11950_1 conda-forge
libwebp-base 1.2.0 h0d85af4_2 conda-forge
lightkurve 2.0.9 pyhd8ed1ab_0 conda-forge
llvm-openmp 11.1.0 hda6cdc1_1 conda-forge
lz4-c 1.9.3 h046ec9c_0 conda-forge
markupsafe 1.1.1 py38h5406a74_3 conda-forge
matplotlib 3.4.1 py38h50d1736_0 conda-forge
matplotlib-base 3.4.1 py38h6152e83_0 conda-forge
matplotlib-inline 0.1.2 pyhd8ed1ab_2 conda-forge
memoization 0.3.2 pyhd8ed1ab_0 conda-forge
mistune 0.8.4 py38h5406a74_1003 conda-forge
nbclient 0.5.3 pyhd8ed1ab_0 conda-forge
nbconvert 6.0.7 py38h50d1736_3 conda-forge
nbformat 5.1.3 pyhd8ed1ab_0 conda-forge
ncurses 6.2 h2e338ed_4 conda-forge
nest-asyncio 1.5.1 pyhd8ed1ab_0 conda-forge
notebook 6.3.0 pyha770c72_1 conda-forge
numpy 1.20.2 py38had91d27_0 conda-forge
oktopus 0.1.2 py_0 conda-forge
olefile 0.46 pyh9f0ad1d_1 conda-forge
openjpeg 2.4.0 h6cbf5cd_0 conda-forge
openssl 1.1.1k h0d85af4_0 conda-forge
packaging 20.9 pyh44b312d_0 conda-forge
pandas 1.2.4 py38h1f261ad_0 conda-forge
pandoc 2.13 h0d85af4_0 conda-forge
pandocfilters 1.4.2 py_1 conda-forge
parso 0.8.2 pyhd8ed1ab_0 conda-forge
patsy 0.5.1 py_0 conda-forge
pexpect 4.8.0 pyh9f0ad1d_2 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 8.1.2 py38h83525de_1 conda-forge
pip 21.1.1 pyhd8ed1ab_0 conda-forge
proj 7.2.0 h78d1473_2 conda-forge
prometheus_client 0.10.1 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.18 pyha770c72_0 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
pycparser 2.20 pyh9f0ad1d_2 conda-forge
pyerfa 1.7.2 py38hca655e8_0 conda-forge
pygments 2.8.1 pyhd8ed1ab_0 conda-forge
pyopenssl 20.0.1 pyhd8ed1ab_0 conda-forge
pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge
pyrsistent 0.17.3 py38h5406a74_2 conda-forge
pyshp 2.1.3 pyh44b312d_0 conda-forge
pysocks 1.7.1 py38h50d1736_3 conda-forge
python 3.8.5 h26836e1_1
python-dateutil 2.8.1 py_0 conda-forge
python_abi 3.8 1_cp38 conda-forge
pytz 2021.1 pyhd8ed1ab_0 conda-forge
pyyaml 5.4.1 py38h5406a74_0 conda-forge
pyzmq 22.0.3 py38hd3b92b6_1 conda-forge
readline 8.1 h05e3726_0 conda-forge
requests 2.25.1 pyhd3deb0d_0 conda-forge
scikit-learn 0.24.2 py38h011f2c5_0 conda-forge
scipy 1.6.3 py38h431c0a8_0 conda-forge
seaborn 0.11.1 hd8ed1ab_1 conda-forge
seaborn-base 0.11.1 pyhd8ed1ab_1 conda-forge
send2trash 1.5.0 py_0 conda-forge
setuptools 49.6.0 py38h50d1736_3 conda-forge
shapely 1.7.1 py38h08f9a40_4 conda-forge
six 1.15.0 pyh9f0ad1d_0 conda-forge
soupsieve 2.0.1 py_1 conda-forge
sqlite 3.35.5 h44b9ce1_0 conda-forge
statsmodels 0.12.2 py38ha1b04c9_0 conda-forge
termcolor 1.1.0 py_2 conda-forge
terminado 0.9.4 py38h50d1736_0 conda-forge
testpath 0.4.4 py_0 conda-forge
threadpoolctl 2.1.0 pyh5ca1d4c_0 conda-forge
tk 8.6.10 h0419947_1 conda-forge
tornado 6.1 py38h5406a74_1 conda-forge
tqdm 4.60.0 pyhd8ed1ab_0 conda-forge
traitlets 5.0.5 py_0 conda-forge
typing_extensions 3.7.4.3 py_0 conda-forge
uncertainties 3.1.5 pyhd8ed1ab_0 conda-forge
urllib3 1.26.4 pyhd8ed1ab_0 conda-forge
wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge
webencodings 0.5.1 py_1 conda-forge
wheel 0.36.2 pyhd3deb0d_0 conda-forge
widgetsnbextension 3.5.1 py38h50d1736_4 conda-forge
xz 5.2.5 haf1e3a3_1 conda-forge
yaml 0.2.5 haf1e3a3_0 conda-forge
zeromq 4.3.4 h1c7c35f_0 conda-forge
zipp 3.4.1 pyhd8ed1ab_0 conda-forge
zlib 1.2.11 h7795811_1010 conda-forge
zstd 1.4.9 h582d3a0_0 conda-forge
Got it to work!
See last update of closed issue
Sent from my iPhone
On May 3, 2021, at 7:19 PM, Zach Claytor @.***> wrote:
Thanks for the helpful feedback. I can't reproduce the error using the same package plan on Ubuntu. I'm wondering if the problem is in the pre-built cartopy dependencies for MacOS.
I can think of 2 things that might be helpful:
If neither of those works, I'll change the package OS requirement to Linux-only until I can run further tests.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/zclaytor/butterpy/issues/2#issuecomment-831594629, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI3HMIHQJ7QSXWSCU2WPZXDTL4VORANCNFSM44BBW2HA.
That's fantastic. Thanks so much; this has been very helpful!
Running surface_fig.ipynb in Python VScode
ani = spots.ortho_animation(time, lc, interval=200, fig_kw=dict(figsize=(3, 3.6), constrained_layout=True));
ani.save("surface.gif", writer="imagemagick", dpi=200, fps=5)
ReferenceError: IPython is not defined at eval (eval at runCodeHere (vscode-webview-resource://d61a6a3c-8d5f-4a1d-bd7e-7b8daa6737b1/file///Users/josephkarpinski/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/datascience-ui/notebook/vendors~nteract_transforms.bundle.js:2:12595),:967:1)
at runCodeHere (vscode-webview-resource://d61a6a3c-8d5f-4a1d-bd7e-7b8daa6737b1/file///Users/josephkarpinski/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/datascience-ui/notebook/vendors~nteract_transforms.bundle.js:2:12595)
at t.value (vscode-webview-resource://d61a6a3c-8d5f-4a1d-bd7e-7b8daa6737b1/file///Users/josephkarpinski/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/datascience-ui/notebook/vendors~nteract_transforms.bundle.js:2:13027)
at Ta (vscode-webview-resource://d61a6a3c-8d5f-4a1d-bd7e-7b8daa6737b1/file///Users/josephkarpinski/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/datascience-ui/notebook/commons.initial.bundle.js:2:2416081)
at Pa (vscode-webview-resource://d61a6a3c-8d5f-4a1d-bd7e-7b8daa6737b1/file///Users/josephkarpinski/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/datascience-ui/notebook/commons.initial.bundle.js:2:2419003)
at vscode-webview-resource://d61a6a3c-8d5f-4a1d-bd7e-7b8daa6737b1/file///Users/josephkarpinski/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/datascience-ui/notebook/commons.initial.bundle.js:2:2432081
at Object.t.unstable_runWithPriority (vscode-webview-resource://d61a6a3c-8d5f-4a1d-bd7e-7b8daa6737b1/file///Users/josephkarpinski/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/datascience-ui/notebook/commons.initial.bundle.js:2:25134)
at Ms (vscode-webview-resource://d61a6a3c-8d5f-4a1d-bd7e-7b8daa6737b1/file///Users/josephkarpinski/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/datascience-ui/notebook/commons.initial.bundle.js:2:2432015)
at xs (vscode-webview-resource://d61a6a3c-8d5f-4a1d-bd7e-7b8daa6737b1/file///Users/josephkarpinski/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/datascience-ui/notebook/commons.initial.bundle.js:2:2431791)
at Es (vscode-webview-resource://d61a6a3c-8d5f-4a1d-bd7e-7b8daa6737b1/file///Users/josephkarpinski/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/datascience-ui/notebook/commons.initial.bundle.js:2:2431136)