Skip to content
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

Clip vignette is failing upon build #475

Closed
lwasser opened this issue Jan 15, 2020 · 0 comments
Closed

Clip vignette is failing upon build #475

lwasser opened this issue Jan 15, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@lwasser
Copy link

lwasser commented Jan 15, 2020

if you run the plot_clip.py vignette with the most recent version of geopandas and earthpy it is failing when you plot the data. The failure message is below. it's oddly not failing when i build docs locally but i see the issue when i run the code.

Traceback (most recent call last):
  File "<input>", line 2, in <module>
  File "/Users/leahwasser/miniconda3/envs/earthpy-dev/lib/python3.6/site-packages/geopandas/geodataframe.py", line 617, in plot
    return plot_dataframe(self, *args, **kwargs)
  File "/Users/leahwasser/miniconda3/envs/earthpy-dev/lib/python3.6/site-packages/geopandas/plotting.py", line 525, in plot_dataframe
    **style_kwds
  File "/Users/leahwasser/miniconda3/envs/earthpy-dev/lib/python3.6/site-packages/geopandas/plotting.py", line 372, in plot_series
    ax, lines, values_, color=color, cmap=cmap, **style_kwds
  File "/Users/leahwasser/miniconda3/envs/earthpy-dev/lib/python3.6/site-packages/geopandas/plotting.py", line 187, in plot_linestring_collection
    segments = [np.array(linestring)[:, :2] for linestring in geoms]
  File "/Users/leahwasser/miniconda3/envs/earthpy-dev/lib/python3.6/site-packages/geopandas/plotting.py", line 187, in <listcomp>
    segments = [np.array(linestring)[:, :2] for linestring in geoms]
IndexError: too many indices for array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant