Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hey, Thanks For The Great Logging Tool

hey, thanks for the great logging tool 🙂 i created a matplotlib figure and for some reason im getting the following warning:
axes embedded in axes: something is wrong
i think its from plotly.. have you encountered something like this before?

  
  
Posted 3 years ago
Votes Newest

Answers 14


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?

  
  
Posted 3 years ago

is that where matplotlib figures usually appear?

  
  
Posted 3 years ago

yes i see it in the plots area

  
  
Posted 3 years ago

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...

  
  
Posted 3 years ago

Regarding the overlapping axis - what version of plotly and matplotlib do you have? Can you send an example of data that reproduces this?

  
  
Posted 3 years ago

another question, im getting the matplotlib figures sometimes as an image and sometime as a plotly figure, do you know why/

  
  
Posted 3 years ago

it seems like the first error is happening when i have a label on my lines in the plot

  
  
Posted 3 years ago

im also getting this weird situation where the axis seem to be appearing twice..

  
  
Posted 3 years ago

plotly==4.7.1
matplotlib==3.2.1

  
  
Posted 3 years ago

Yes 🙂

  
  
Posted 3 years ago

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

  
  
Posted 3 years ago

the code is deep inside another code, i will try to replicate with simple code..

  
  
Posted 3 years ago

when is the new version coming out?

  
  
Posted 3 years ago

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...

  
  
Posted 3 years ago