the code is deep inside another code, i will try to replicate with simple code..
CloudyHamster42
RC probably in a few days, but notice that it will just remove the warnings, I still can't reproduce the double axis issue.
It will be helpful if you could send a small script to reproduce the problem.
Maybe this example code can help ? https://github.com/allegroai/trains/blob/master/examples/manual_reporting.py
CloudyHamster42 FYI the warning will not be shown in the next Trains version, the issue is now fixed, thank you 🙂
Regrading the double axes, see if adding plt.clf()
helps. It seems the axes are leftover from the previous figure, that somehow are still there...
Regarding the overlapping axis - what version of plotly and matplotlib do you have? Can you send an example of data that reproduces this?
When you report a plot, in case plotly fails converting the data to an interactive plot, Trains will default to store it as an image plot. It depends on the plotly version you have installed and how complicated the plot is...
it seems like the first error is happening when i have a label on my lines in the plot
im also getting this weird situation where the axis seem to be appearing twice..
another question, im getting the matplotlib figures sometimes as an image and sometime as a plotly figure, do you know why/
is that where matplotlib figures usually appear?
Hi CloudyHamster42 ,
This indeed looks like a plotly warning, probably related to converting the data - it might cause the plot to be logged as an image plot, or not at all. Do you still see any plot in the UI afterwards?