mirror of
https://github.com/ultralytics/yolov5.git
synced 2025-06-03 14:49:29 +08:00
Update matplotlib svg backend (#1580)
This commit is contained in:
parent
2c99560a98
commit
784feae30a
@ -21,7 +21,7 @@ from utils.metrics import fitness
|
|||||||
|
|
||||||
# Settings
|
# Settings
|
||||||
matplotlib.rc('font', **{'size': 11})
|
matplotlib.rc('font', **{'size': 11})
|
||||||
matplotlib.use('Agg') # for writing to files only
|
matplotlib.use('svg') # for writing to files only
|
||||||
|
|
||||||
|
|
||||||
def color_list():
|
def color_list():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user