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!