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
Hi, I Am Saving Plt Chart To Clearml Using

Hi, I am saving plt chart to ClearML using from torch.utils.tensorboard import SummaryWriter and I got long labels cut out writer.add_figure('my label', figure=fig) . Is there any way to preserve labels in full length?

  
  
Posted 2 years ago
Votes Newest

Answers 12


Hi, I solved this cut out of labels with
fig.tight_layout() return fig

  
  
Posted 2 years ago

Yes I think the writer.add_figure somehow crops the image

  
  
Posted 2 years ago

Hmm, and when you zoom out, still cropped ?

  
  
Posted 2 years ago

You can see the white-gray mesh on background that shows the end of the image. It is cropped in the middle of labels

  
  
Posted 2 years ago

Hi MortifiedDove27
I think you can resize the plot area in the UI (try to drag the horizontal separator)

  
  
Posted 2 years ago

or by trains

We just upload the image as is ... I think this is SummaryWriter issue

  
  
Posted 2 years ago

Results > Debug Samples

  
  
Posted 2 years ago

MortifiedDove27
Nice!!!

  
  
Posted 2 years ago

I save it to PC and it is not only UI issue. My guess is that it plt.fig is cropped or by SummaryWriter or by trains. Help me debug where is the problem, I will meanwhile try to see what this SummaryWriter does to plt plots

  
  
Posted 2 years ago

Also can you right click on the image and save it on your machine, see if it is cropped, or it is just a UI issue

  
  
Posted 2 years ago

When I save plot in jupyter notebook it is not cropped

  
  
Posted 2 years ago

Ohh I see, is this under plots or debug images ?

  
  
Posted 2 years ago
461 Views
12 Answers
2 years ago
one year ago
Tags