I’ve run into an unexpected problem. I’m running Bokeh 0.12.11 on python 2.7 (Anaconda) on Windows 10.
I have a set of Lat/Lon coordinates I wish to plot on a map. Each point has a code/provenance identifying the source of the data. I’d like to plot each point colored by code. Then produce an interactive legend to hide/show points associated with these codes on the map.
I’m currently using a GMapPlot, adding a Circle glyph, then adding a legend using a bpkeh.models.Legend. Setting the click policy to “hide”
The Circle glyphs do not seem to vanish, but rather the view order of the Glyphs changes.
So I guess my questions is, (before I post some example code). Is it possible to setup of a legend on a GMapPlot with a click_policy of “hide”?
I would not expect any problems, but it is also true that GMapPlot in particular has some weird differences that cannot be avoided, so it's not impossible there is an issue. If you can provide a complete minimal example to reproduce that will go very very towards being able to investigate.
I've run into an unexpected problem. I'm running Bokeh 0.12.11 on python 2.7 (Anaconda) on Windows 10.
I have a set of Lat/Lon coordinates I wish to plot on a map. Each point has a code/provenance identifying the source of the data. I'd like to plot each point colored by code. Then produce an interactive legend to hide/show points associated with these codes on the map.
I'm currently using a GMapPlot, adding a Circle glyph, then adding a legend using a bpkeh.models.Legend. Setting the click policy to "hide"
The Circle glyphs do not seem to vanish, but rather the view order of the Glyphs changes.
So I guess my questions is, (before I post some example code). Is it possible to setup of a legend on a GMapPlot with a click_policy of "hide"?
Thanks for responding. It turns out the issue is on my end. I wasn’t being particularly careful and plotted duplicate sets of glyphs to the map. It’s operating as expected now.
Eli
···
On Mon, Dec 4, 2017 at 6:07 PM, Bryan Van de ven [email protected] wrote:
Hi,
I would not expect any problems, but it is also true that GMapPlot in particular has some weird differences that cannot be avoided, so it’s not impossible there is an issue. If you can provide a complete minimal example to reproduce that will go very very towards being able to investigate.
I’ve run into an unexpected problem. I’m running Bokeh 0.12.11 on python 2.7 (Anaconda) on Windows 10.
I have a set of Lat/Lon coordinates I wish to plot on a map. Each point has a code/provenance identifying the source of the data. I’d like to plot each point colored by code. Then produce an interactive legend to hide/show points associated with these codes on the map.
I’m currently using a GMapPlot, adding a Circle glyph, then adding a legend using a bpkeh.models.Legend. Setting the click policy to “hide”
The Circle glyphs do not seem to vanish, but rather the view order of the Glyphs changes.
So I guess my questions is, (before I post some example code). Is it possible to setup of a legend on a GMapPlot with a click_policy of “hide”?
Thanks,
Eli Hunter
–
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].