Hi
thanks for your fast response. Now it works but the yaxis is now on the standard y axis position? It removed the axis from position and deleted the layout but the axis is still there ?
i solved it u mentioned it already : first deleteTraces then relayout
Hi there- the code that you’ve outlined doesn’t seem to work for me. I can delete a trace just fine, but when I set a dynamically-added yaxis to null, it doesn’t disappear from my web page?
If you click the “Add Series 1” and “Add Series 2” buttons, you can see it adds to traces to my plot, and the second trace is on axis ‘yaxis3’ on the right side. If you click the 'Remove Series 1" button, you can see that the data is removed from the chart, but yaxis3 remains on the right side, even though I am setting it to null via a call to relayout.
Any assistance you can provide is great appreciated. Thank you!