-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Template quirk #4980
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
Comments
Tangentially related to #4482 I feel? |
Good call. It seems so. |
I initially understood this issue as affecting the In a template, we set both the Here are forks of @alexcjohnson's Codepen above to demonstrate this: With plotly.js With |
I'm increasingly thinking that we should revert to the previous behaviour. |
I agree - let's revert #4904 and reopen the issues it closed, then we can come back to this when we have more time to develop a full solution for both flavors. I still consider those issues bugs, in as far as there are certain things you can't do with templates and other things that do not behave the same way in the template as they do in layout, but in the short term this fix - that turns out to be incomplete - causes more problems than it solves. |
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson |
A strange effect of #4904:
Both of these are demonstrated in https://codepen.io/alexcjohnson/pen/VweyRJe?editors=1010 - without the template, both the xaxis line and the x=0 line show:


But with the template they both disappear:
Since there is a clear use case for both variants, I kind of think we need a new concept in the template, of a "new default" value, that doesn't count as having provided a value, so can't affect any other logic.
@archmoj @nicolaskruchten @wbrgss thoughts?
The text was updated successfully, but these errors were encountered: