Let me know if I can give any other info to help.
I see you replied at the same
time as me. Can you try installing the latest dev build,
according to these instructions:
[http://bokeh.pydata.org/en/latest/docs/installation.html#developer-builds](http://bokeh.pydata.org/en/latest/docs/installation.html#developer-builds)
There was a known, intermittent issue with outout in
Jupyter notebooks. There was a proposed fix merged, but it
is not in any full release yet, only on master, and in
recent dev builds. Additionally, we had trouble
reproducing this issue, so feedback from folks actually
experiencing problems is valuable.
Thanks,
Bryan
> On Apr 17, 2016, at 11:42 PM, Bryan Van de Ven <[email protected] > > > > > > > > > wrote:
>
> What version of Bokeh are you using?
>
> Bryan
>
>> On Apr 17, 2016, at 10:58 PM, Linwood Creekmore > > > > III <[email protected] > > > > > > > > > wrote:
>>
>> All:
>>
>> I'm trying the same code here but just getting a
blank screen using either inline plotting in a notebook or
the html output file.
>>
>> [http://nbviewer.jupyter.org/github/birdsarah/bokeh-miscellany/blob/master/world%20map/world%20map%20geojson.ipynb?flush_cache=True](http://nbviewer.jupyter.org/github/birdsarah/bokeh-miscellany/blob/master/world%20map/world%20map%20geojson.ipynb?flush_cache=True)
>>
>> I even went back and tried the Texas example ([](http://bokeh.pydata.org/en/)[http://bokeh.pydata.org/en/](http://bokeh.pydata.org/en/)la test/docs/gallery/texas.html)
and get the blank screen and not output.
>>
>> But, I do get the output notification: <Bokeh
Notebook handle for In[11]>
>>
>>
>> Debug returned no traceback error.
>>
>> Any ideas on how to fix? I want to do the same
thing (make a map from geojson data).
>>
>>
>> On Thursday, April 14, 2016 at 12:14:30 PM UTC-4, > > > > [email protected] > > > > wrote:
>> Ryan,
>>
>> If you got it all working in the end and can post
the completed project, that will be great.
>>
>> On Monday, March 7, 2016 at 9:18:49 PM UTC-6, > > > > Ryan Budney wrote:
>> Ah! Thanks. I wasn't certain if that was
do-able or not. Apparently it’s okay. Thanks again.
I’ll post a link to the completed project here once it’s
done, so that others can hopefully gain something from the
example.
>>
>> Once I have a better understanding of these
objects I’ll try to make some pull requests to the
documentation.
>>
>> -ryan
>>
>> On Monday, March 7, 2016 at 6:30:26 PM UTC-8, > > > > Sarah Bird wrote:
>> The easiest thing to do would be to add
properties to your geojson.
>>
>> You can see the example here: [](https://github.com/bokeh/)[https://github.com/bokeh/](https://github.com/bokeh/)bokeh/blob/master/examples/plotting/file/geojson_points.
py
>>
>> references a property from the GeoJSON
@OrganisationName
>>
>> You could just as easily have a property "color"
and use that color to color your patches.
>>
>> p.patches(xs='xs', ys='ys', fill_color='color')
>>
>> Also see the user guide: [](http://bokeh.pydata.org/en/latest/docs/user_guide/geo.html)[http://bokeh.pydata.org/en/](http://bokeh.pydata.org/en/)lat est/docs/user_guide/geo.html
>>
>> Would really welcome pull requests to improve the
documentation based on your experiences.
>>
>> Sincerely,
>>
>> Sarah Bird
>>
>> On 3/7/16 5:45 PM, Ryan Budney wrote:
>>> Sorry for asking so many questions, but is
there a way to determine how patches is indexing the
polygons, i.e. corresponding to the json file, so that I
can tell Bokeh how to color each region? Similarly I
would like to create some hover text for these regions.
Does GeoJSONDataSource create a dictionary-type object,
like in the texas example: http://bokeh.pydata.org/en/latest/docs/gallery/texas.html
>>>
>>> I've tried adding a fill_color=[length 165
array of color strings] argument to the p.patches call but
it does not seem to like that. 165 is the number of
GeoJSON polygons in my world110.json file.
>>>
>>> On Monday, March 7, 2016 at 4:27:20 PM UTC-8, > > > > Sarah Bird wrote:
>>> You've got the right idea, but patches takes
xs and ys not x and y. (This is the kind of thing that I’d
hope you don’t have to know in the future for geo support)
>>>
>>> Here's it working: [http://nbviewer.jupyter.org/github/birdsarah/bokeh-miscellany/blob/master/world%20map/world%20map%20geojson.ipynb?flush_cache=True](http://nbviewer.jupyter.org/github/birdsarah/bokeh-miscellany/blob/master/world%20map/world%20map%20geojson.ipynb?flush_cache=True)
>>>
>>> --
>>> You received this message because you are
subscribed to the Google Groups “Bokeh Discussion -
Public” group.
>>> To unsubscribe from this group and stop
receiving emails from it, send an email to [email protected] .
>>> To post to this group, send email to [email protected] .
>>> To view this discussion on the web visit [](https://groups.google.com/a/)[https://groups.google.com/a/](https://groups.google.com/a/)[continuum.io/d/msgid/bokeh/6aff57c0-6002-4313-853e-3ebc29cd1911%40continuum.io](http://continuum.io/d/msgid/bokeh/6aff57c0-6002-4313-853e-3ebc29cd1911%40continuum.io)
.
>>> For more options, visit [](https://groups.google.com/a/)[https://groups.google.com/a/](https://groups.google.com/a/)[continuum.io/d/optout](http://continuum.io/d/optout)
.
>>
>> --
>> Sarah Bird
>> Developer, Bokeh
>>
>>
>>
>>
>> --
>> You received this message because you are
subscribed to the Google Groups “Bokeh Discussion -
Public” group.
>> To unsubscribe from this group and stop receiving
emails from it, send an email to [email protected] .
>> To post to this group, send email to [email protected] .
>> To view this discussion on the web visit [](https://groups.google.com/a/)[https://groups.google.com/a/](https://groups.google.com/a/)[continuum.io/d/msgid/bokeh/81aaea0a-1a80-4693-88a5-fe89c2aefecf%40continuum.io](http://continuum.io/d/msgid/bokeh/81aaea0a-1a80-4693-88a5-fe89c2aefecf%40continuum.io)
.
>> For more options, visit [](https://groups.google.com/a/continuum.io/d/optout)[https://groups.google.com/a/](https://groups.google.com/a/)co ntinuum.io/d/optout.
>