Hi. I just wanted to know if there is any way to integrate cufflinks graphs in dash apps.
There should be some way to return a cufflinks figure as the standard plotly
figure, I suspect it’s something like
as_figure. If you find that method, then should be able to pass the result directly into the
figure property of
dcc.Graph, something like:
I’ve written a wrapper for libraries in including plotly (cufflinks) at https://github.com/cuemacro/chartpy. It returns figure objects that can be used in Dash, from a callback. Here’s an example below:
from chartpy import Chart, Style style = Style(title=title, plotly_plot_mode='dash') plot = Chart().plot(df, style=style, chart_type='line')
The plot object can be used in Dash callback.