mirror of
https://github.com/clearml/clearml
synced 2025-01-31 09:07:00 +00:00
Fix matplotlib support
This commit is contained in:
parent
66515eab14
commit
f22278b233
@ -183,7 +183,10 @@ class PatchedMatplotlib:
|
||||
plotly_fig = None
|
||||
image_format = 'jpeg'
|
||||
fig_dpi = 300
|
||||
if not force_save_as_image:
|
||||
if force_save_as_image:
|
||||
# if this is an image, store as is.
|
||||
fig_dpi = None
|
||||
else:
|
||||
image_format = 'svg'
|
||||
# noinspection PyBroadException
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user