Issue in graph axis display while loading new data or zooming

Hello,

I am using a bokeh server to generate graph.

Each time a graph is generated, the graph is updating but I keep seeing from time time the previous axis.

I have tried to use graph.x_range.bounds=“auto” or reload the axis using graph.x_range = DataRange1d() for the axis to update but I keep having issues as per attached.

Thanks a lot for your help,

This is pretty odd looking, I have not seen anything like it, so would have to be able to reproduce it to investigate to be able to say anything substantive. Can you provide a complete, minimal, runnable example that reproduces the problem so that it can be investigated?

Thanks,

Bryan

···

On Nov 29, 2016, at 8:30 AM, PH <[email protected]> wrote:

Hello,

I am using a bokeh server to generate graph.
Each time a graph is generated, the graph is updating but I keep seeing from time time the previous axis.

I have tried to use graph.x_range.bounds="auto" or reload the axis using graph.x_range = DataRange1d() for the axis to update but I keep having issues as per attached.

Thanks a lot for your help,

--
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/1643dec8-b047-4f88-9267-06f9daae4ef1%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
<Graph_axis_display.PNG>

Sure. I will work on one example to send over

···

On Tue, Nov 29, 2016 at 3:18 PM, Bryan Van de Ven [email protected] wrote:

This is pretty odd looking, I have not seen anything like it, so would have to be able to reproduce it to investigate to be able to say anything substantive. Can you provide a complete, minimal, runnable example that reproduces the problem so that it can be investigated?

Thanks,

Bryan

On Nov 29, 2016, at 8:30 AM, PH [email protected] wrote:

Hello,

I am using a bokeh server to generate graph.

Each time a graph is generated, the graph is updating but I keep seeing from time time the previous axis.

I have tried to use graph.x_range.bounds=“auto” or reload the axis using graph.x_range = DataRange1d() for the axis to update but I keep having issues as per attached.

Thanks a lot for your help,

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/1643dec8-b047-4f88-9267-06f9daae4ef1%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

<Graph_axis_display.PNG>

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/9A05528C-386C-4BBA-ADBC-9A0C6942955B%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.


Patrick Houel

96, Kensington High Street
London, W8 4SG

W London : +44-203-66-78763

W New-York :+1- 646-979-4838

M: +44-753-02-12963

[email protected]

Bryan,
I found the issue. maybe I was duplicating the layout properties some how but basically I was defining my properties at the start like in Sarah Bird’s demo

PLOT_PROPERTIES = dict(
    tools=TOOLS,
    width=1200,
    height=500,
    toolbar_location="right",
    background_fill_alpha=0.9,
    border_fill_alpha=0.1,
    min_border_right=50,
    min_border_top=50,
    min_border_left=50,
    min_border_bottom=50,
)

and using it like this

graph= figure(width=1200,height=500,toolbar_location=“right”,**PLOT_PROPERTIES )

When I erase all my properties at the top and put them in each graph, that works properly.

Thanks,

···

On Tue, Nov 29, 2016 at 3:31 PM, Patrick Houel [email protected] wrote:

Sure. I will work on one example to send over

On Tue, Nov 29, 2016 at 3:18 PM, Bryan Van de Ven [email protected] wrote:

This is pretty odd looking, I have not seen anything like it, so would have to be able to reproduce it to investigate to be able to say anything substantive. Can you provide a complete, minimal, runnable example that reproduces the problem so that it can be investigated?

Thanks,

Bryan

On Nov 29, 2016, at 8:30 AM, PH [email protected] wrote:

Hello,

I am using a bokeh server to generate graph.

Each time a graph is generated, the graph is updating but I keep seeing from time time the previous axis.

I have tried to use graph.x_range.bounds=“auto” or reload the axis using graph.x_range = DataRange1d() for the axis to update but I keep having issues as per attached.

Thanks a lot for your help,

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/1643dec8-b047-4f88-9267-06f9daae4ef1%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

<Graph_axis_display.PNG>

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/9A05528C-386C-4BBA-ADBC-9A0C6942955B%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.


Patrick Houel

96, Kensington High Street
London, W8 4SG

W London : +44-203-66-78763

W New-York :+1- 646-979-4838

M: +44-753-02-12963

[email protected]


Patrick Houel

96, Kensington High Street
London, W8 4SG

W London : +44-203-66-78763

W New-York :+1- 646-979-4838

M: +44-753-02-12963

[email protected]