☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Interpolation

Community Support
Sean_Law
Sean_Law

I was wondering if there is an automated way to interpolate between frames of an animation (like the Gapminder example) so that the frames are not jerky or so that we can control the interpolation scheme.

⌁   Link to post
Bryan
Bryan

Not yet, it's on my short-term list, but we need to get through some stability and bugfix work first, and the core devs are currently stretched quite thin. It's not a trivial feature, but I have some ideas about how this could be implemented, so if there are any especially motivated people looking for a project I'd be happy to discuss it.

Thanks,

Bryan

···

On Dec 12, 2016, at 7:42 AM, seanmylaw@gmail.com wrote:

I was wondering if there is an automated way to interpolate between frames of an animation (like the Gapminder example) so that the frames are not jerky or so that we can control the interpolation scheme.

--
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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/49777d83-f69f-427d-bdab-92b9a69d2f70%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Rutger_Kassies
Rutger_Kassies

A workaround would be to interpolate your input data. If you start of with a Pandas DataFrame for example, and turn that into a Bokeh ColumnDataSource, it would be very easy to use Pandas interpolation options. It also means you have to transfer more data to the plot, so there are certainly drawbacks.

http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.interpolate.html

Regards,
Rutger

···

On Monday, December 12, 2016 at 2:42:03 PM UTC+1, sean...@gmail.com wrote:

I was wondering if there is an automated way to interpolate between frames of an animation (like the Gapminder example) so that the frames are not jerky or so that we can control the interpolation scheme.

⌁   Link to post
Sean_Law
Sean_Law

Thanks, Rutger. I should’ve known that Pandas can handle this!

···

On Tuesday, December 13, 2016 at 3:21:56 AM UTC-5, Rutger Kassies wrote:

A workaround would be to interpolate your input data. If you start of with a Pandas DataFrame for example, and turn that into a Bokeh ColumnDataSource, it would be very easy to use Pandas interpolation options. It also means you have to transfer more data to the plot, so there are certainly drawbacks.

http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.interpolate.html

Regards,
Rutger

On Monday, December 12, 2016 at 2:42:03 PM UTC+1, sean...@gmail.com wrote:

I was wondering if there is an automated way to interpolate between frames of an animation (like the Gapminder example) so that the frames are not jerky or so that we can control the interpolation scheme.

⌁   Link to post

End of archived discussion · Replies are disabled