-
Notifications
You must be signed in to change notification settings - Fork 329
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
[knitr] Duplicated plotly graph - intermediary plot shoud probably be hidden #1468
Comments
Thanks, I can reproduce. In principle I agree that we should suppress auto-printing of the intermediate figures here, but changing the auto-printing semantics here is going to be a breaking change which we'll have to do thoughtfully. For now, users can explicitly disable printing of intermediate plots by enabling E.g., updating the chunk like:
|
Thanks ! I did not know about this |
You may want to have a peek at |
Hello everyone! I'm creating a simple dashboard with Quarto in Python. When I insert a chart with plotly like the example below, the chart gets duplicated, probably due to fig.update_layout and fig.update_traces.
|
@lufrig did you try this ? |
From quarto-dev/quarto-cli#4507 - idea is to try the examples at https://plotly.com/python/sliders/
But rendering this in R Markdown documents (or quarto), will end up with more plot than expected.
Is this expected and it should somehow be dealt with in code chunk itself ? Or should there be a way to hide intermediary plots by default ?
The text was updated successfully, but these errors were encountered: