[bokeh] Re: Gridplot two different plots


Please don't post images of code, they are usually not helpful. Often times, in order to help, people need to be able run or try out real code. Accordingly, please post code or code snippets as actual text.

From a brief look, though, your "left" and "right" plots are both configured with the same data source "source" and configure identical columns for the coordinates. Given that, I would expect them to be identical (except one with squares and the other with circles). If you want them to have different data, you need to configure them with different data sources, or at least different columns from the same data source.

The main and negmain functions do not appear interact or have anything to do with the Bokeh objects, so I would not expect them to do anything at all with respect to the plots.

Without more code (ideally, a complete minimal example that can be run) it's not really possible to say more.




On Jun 15, 2018, at 09:05, [email protected] wrote:

I'm trying to make show two different plots I created with Gridplot next to each other.
'left' is created by following main()
'right' is created by following negmain()
In the attached image I know why both plots, when executing the script, follow main()
But I need the 'right' plot to me created by negmain() and nog main()
is there anyway to visualize this with gridplot?

Op vrijdag 15 juni 2018 17:41:14 UTC+2 schreef Annika Dubb:
I have two different visualizations, both following their own def.
I'm capable of plotting those individually, but when combining them with gridplot, both visualizations follow the same def.
So, one visualization follows def main() and the other def negmain(), how would I combine those in a gridplot?

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/567cbe44-4a45-485f-8fc9-33cb3b16ea93%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.