I am unable to get figure_factory to recognize the county_choroplet module which contains create_choropleth (on line 512 I believe).
I am just using a basic example from the plotly website https://plot.ly/python/county-choropleth/
Edit: Ive tried to implement suggestions from a previous question by importing as:
from plotly.figure_factory._county_choropleth import create_choropleth
and then:
fig = create_choropleth(fips=fips, values=values)
py.ploy(fig, filename='basic-choropleth')
py.iplot(fig, filename='choropleth of some cali counties - full usa scope')
But i receive the following error (in picture):
File "C:\ProgramData\Miniconda3\lib\site-packages\fiona__init__.py", line 162, in open raise IOError("no such file or directory: %r" % path)
OSError: no such file or directory: 'C:\ProgramData\Miniconda3\lib\site-packages\plotly\package_data\gz_2010_us_050_00_500k.shp'
from plotly.figure_factory._county_choropleth import create_choropleth
and then ran the following:fig = create_choropleth(fips=fips, values=values) py.ploy(fig, filename='basic-choropleth') py.iplot(fig, filename='choropleth of some cali counties - full usa scope')
however i then recieved an error code OSError: no such file or directory: 'C:\\ProgramData\\Miniconda3\\lib\\site-packages\\plotly\\package_data\\gz_2010_us_050_00_500k.shp' – Clay Chester