Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7eb02e7

Browse filesBrowse files
committed
print statements for import error
1 parent 3b9412a commit 7eb02e7
Copy full SHA for 7eb02e7

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed

‎plotly/figure_factory/_county_choropleth.py

Copy file name to clipboardExpand all lines: plotly/figure_factory/_county_choropleth.py
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,13 @@ def create_choropleth(fips, values, scope=['usa'], binning_endpoints=None,
556556
```
557557
"""
558558
# ensure optional modules imported
559+
if not gp:
560+
print 'np gp'
561+
if not shapefile:
562+
print 'no shapefile'
563+
if not shapely:
564+
print 'no shaply'
565+
559566
if not gp or not shapefile or not shapely:
560567
raise ImportError("geopandas, shapefile and shapely must be "
561568
"installed for this figure factory")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.