I am trying to work with the GMapPlot to display the metadata of a project I am working on.
It involves mapping a large number (300,000 circles). I have been trying to use the Charts.GMapPlot, following some examples and some trial and error.
Firstly, I get a bit of (seemingly) buggy behaviour with the plot. After I produce it I often need to save the notebook (with the figure inline) and re-open it to view the results displayed correctly (otherwise the map is almost entirely outside of the plot frame, which itself is blank). Apart from that, I tried adding some tools to the plot, but I get some behaviour which isn’t quite optimal, and some things that also seem buggy. Any ideas how I can get around it?
Reset tool: currently this resets the lon/lat (x,y) values to 0.0, and 0.0, at original zoom level: would be good to over-ride these values to the originally specified lat. lon. set in GMapOptions.
Box Zoom Tool: this appears to just centre the plot over the centre point of the box zoom, without changing the zoom level of the map.
Pan bug? When I pan, the glyphs (in my case circles), can become dissociated from their correct map location.
Color scale: Is it possible to add a colour scale legend relating to the colours assigned to my circle glyphs?
You can see my example and code in the below notebook:
If you want to play with the code directly, it (and the dependency file) is in my rather messy repo at https://github.com/benlaken/ECCO
Also, I am new to using Bokeh, so if you see a better way for me to do something, please let me know.
On 10 Feb 2015, at 15:55, Bryan Van de ven [email protected] wrote:
This is being added in a current PR:
And should be in the upcoming 0.8 release in a few weeks (or perhaps a dev build/rc before then).
On Wednesday, February 4, 2015 at 2:55:28 AM UTC-6, Menachem Shafran wrote:
I’m starting to work now with bokeh and it’s great but I need to create a plot where if someone clicks on a point on the graph it will give him additional details.
Can it be done via the TapTool? couldn’t understand how to customize it…
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/continuum.io/d/msgid/bokeh/986cae4d-d34b-4802-96bd-2801641ca8ee%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.