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
The Histograms I Plot With Matplotlib Look Different On Clearml Compared To The Original Plots, How Can I Make Them Look The Same?

The histograms I plot with matplotlib look different on clearml compared to the original plots, how can I make them look the same?

  
  
Posted 3 years ago
Votes Newest

Answers 23


SoreDragonfly16
btw: The difference between the two graphs is the ratio pf the graph display , that it 🙂

  
  
Posted 3 years ago

image
image

  
  
Posted 3 years ago

image

  
  
Posted 3 years ago

Oh that's definitely off 🙂
Can you send a quick toy snippet to reproduce it ?

  
  
Posted 3 years ago

Hello E.K, do you have any examples handy to show us the difference ?

  
  
Posted 3 years ago

from the look of those two graphs, the underlying data is totally different 😕

  
  
Posted 3 years ago

This is the figure shown in clearml:

  
  
Posted 3 years ago

the one on the right, for example, has no data points at around the 19 mark

  
  
Posted 3 years ago

The figure saved with matplotlib looks like this:

  
  
Posted 3 years ago

For example, I plot this using the same data:

  
  
Posted 3 years ago

do you have code that you can share ?

  
  
Posted 3 years ago

The clearml plot looks like this:

  
  
Posted 3 years ago

the part that I am concerned on is that the first pair of graphs you showed, the dataset (even from jst looking at it) are very different 😕

  
  
Posted 3 years ago

This is ok, but the histogram is warped. Looks like the axis are switched or something

  
  
Posted 3 years ago

AgitatedDove14 No, look at this:

  
  
Posted 3 years ago

I assume that clearml's is on the right ?

  
  
Posted 3 years ago

Ok. This should be the same graph which is automatically logged to clearml after plotting with matplotlib

  
  
Posted 3 years ago

I may have to let someone with more know-how on the histogram and graphing answer if there is anyway to change graph layout though

  
  
Posted 3 years ago

I don't do anything beside registering the clearML logger. After the logger is registered, I just plot my histogram using matplotlib

  
  
Posted 3 years ago

So those datasets are the same but.. yes.. it's squashed/warped

  
  
Posted 3 years ago

However, this works perfectly with other plots, but not with histograms

  
  
Posted 3 years ago

image

  
  
Posted 3 years ago

AlertBlackbird30 Hi, yes, I attach here the screen shots of the results

  
  
Posted 3 years ago
934 Views
23 Answers
3 years ago
7 months ago
Tags