Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flicker #9

Closed
mrocklin opened this issue Nov 3, 2016 · 3 comments
Closed

Flicker #9

mrocklin opened this issue Nov 3, 2016 · 3 comments

Comments

@mrocklin
Copy link
Member

mrocklin commented Nov 3, 2016

@sccolbert noticed a flicker when resizing plots

image

"It's like the canvas is being resized (which clears it white automatically), but the plot is not being redrawn until the next animation frame

so you get one frame of white before seeing the new plot"

Also

setTimeout(function () {
    // wait until bokehjs is loaded and the plot is rendered and added to the index
    // there's almost definitely a more elegant way to do this
    that._plot_ref = Bokeh.index[that._bokeh_id].model;
}, 1000);

this sometimes generates an error because Bokeh.index[that._bokeh_id] is still undefined

@sccolbert
Copy link

gif version of flicker:
browser

@mrocklin
Copy link
Member Author

mrocklin commented Nov 3, 2016

Ah, thank you. Didn't realize that the image didn't copy over.

@mrocklin
Copy link
Member Author

This seems to be resolved in the new implemenation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants