plotly / plotly.js

Open-source JavaScript charting library behind Plotly and Dash
https://plotly.com/javascript/
MIT License
17.07k stars 1.87k forks source link

Secondary x-axis numberline doesn't show on histogram plots #6308

Open marc1uk opened 2 years ago

marc1uk commented 2 years ago

I'm trying to make a plot that histograms two variables (min, max) for two sources (two different LEDs). The plot should have two y axes and two x-axes; both sets of minimum values are plotted with a given pair of x-y axes, and both sets of maximum values on the other. This appears to be straightforward to implement; just specify the two additional axes in the layout and set the corresponding traces to use them, but for some reason although the secondary x-axis title is shown at the top (as desired), the corresponding axis numberline isn't. reproducible example Apologies for the somewhat contrived example code, it's hacked out of a wider webpage, but i think is easy enough to understand.

gvwilson commented 4 months ago

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson

marc1uk commented 4 months ago

Hi @gvwilson There's actually a link to a reproducible example, which sources https://cdn.plot.ly/plotly-latest.min.js for its plotly, right there in the post. If you click it, you can see the issue is still present.