-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
WIP: Replace plotly HTML rendering with Panel #3837
Conversation
widgets not working yet
|
||
if LooseVersion(plotly.__version__) < '3.4.0': | ||
raise VersionError( | ||
"The plotly extension requires a plotly version >=3.4.0, " | ||
"please upgrade from plotly %s to a more recent version." | ||
% plotly.__version__, plotly.__version__, '3.4.0') | ||
|
||
pn.extension("plotly") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should remove this, importing the plotting module shouldn't load the extension.
@@ -16,13 +16,17 @@ | |||
from .tabular import * # noqa (API import) | |||
from ...core.util import LooseVersion, VersionError | |||
import plotly | |||
import panel as pn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import panel as pn | |
import panel.models.plotly # noqa |
Looks like a good start. Will probably have to add something to either the extension itself or |
Superseded by #3850 |
Rough initial prototype of using Panel to display plotly figures in HoloViews. The goal is to combine this with #3836 and holoviz/panel#529 to support interactive streams with the Plotly backend.
If successful, this would become the new foundation for the work started in #3316 to support
Selection1D
andRangeXY
streams with the Plotly backend.