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
Hello, I'M Logging A Plotly Figure Which Contains Subplots Using

Hello, I'm logging a plotly figure which contains subplots using Logger.report_plotly() method. However, many of the attributes (color, legend label) of the figure change when they are viewed in the app. Also the formatting in the web app is weird. I created an (issue)[ https://github.com/allegroai/trains/issues/247 ] on GitHub with a reproducible script.

The plot is supposed to look like the one with blue/orange color scheme but in the app it randomly changes every time I re-run the experiment. Any ideas why this is happening?

  
  
Posted 3 years ago
Votes Newest

Answers 4


Hi SarcasticSparrow10
The plots in the UI allow you to control the colors of the graphs interactively (click on the color in the legend), it also allows you you toggle the legend on/off. This is on purpose so you can later adjust according to your taste 🙂
Is the layout okay (it was hard for me to understand form the screen-grab) ?
I'll make sure to reply the GitHub issue as well

  
  
Posted 3 years ago

I look forward to your response on Github.

Great, I would like to make this discussion a bit more open and accessible so GitHub is probably better

I'd like to start contributing to the project...

That will be awesome!

  
  
Posted 3 years ago

Hi AgitatedDove14 , yes, I was able to change the color from the UI. But this may be less than ideal for the following use case.

A model is an ensemble of say 10 models. Each member of the ensemble generates two train-validation curves. So for 1 model, I will have 20 plots. There are two problems with the current setup:

Manually changing colors of all the plots is not feasible The default color scheme is not consistent and changes randomly with every run
It would be nice if I can control the default figure attributes.

As for the layout, it is not ok. There is too much space on the top and the bottom. The figures are too wide and I have to scroll quite a bit.

And finally the title, y-axes labels are also missing. I looked at the source code and when the plot is converted to a json object, I see all the attributes are still present but I don't know what happens after calling PlotEvent .

I look forward to your response on Github. Also I'd like to start contributing to the project. I'll get to learn how the tool works and help improve it :)

  
  
Posted 3 years ago

sounds good

  
  
Posted 3 years ago
714 Views
4 Answers
3 years ago
one year ago
Tags