Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

What is Plotly.Fx?

This example uses a method called Plotly.Fx. I can’t seem to find any documentation on it. I did a google search for “Plotly.Fx” in quotes, and came up with almost nothing.

Can someone point me to the documentation?

Plotly.Fx is a loosely defined set of methods that user might find useful in creating custom interactivity.

Plotly.Fx (as well as Plotly.Plots that you also might see in our docs) are going to be deprecated in the next major plotly.js release and hence we’re not going to spend the time to properly document their behavior.

We hope that attach the useful parts of Plotly.Fx and Plotly.Plots to a plot object. Here’s a sketch:

var plot = Plotly.createPlot('graph', data, layout);

plot.hover(function('click') { /* for custom hover behavior */ });

I’d suggest subscribing to https://github.com/plotly/plotly.js/issues/420 for more information about future API changes.

To answer your question, to now more about Plotly.Fx, I can unfortunately only point you to our source code.