How about adding rcParams argument in ModelCardGenerator
jeongukjae opened this issue · comments
For non-English projects, it is essential to change the font configs to render graphics properly.
If cannot, the graphics in the model card looks as follows:
So, it could be great if ModelCardGenerator can accept the argument like 'matplotlib_rcparams'
.
mc_gen = ModelCardGenerator(
pushed_model=...,
...
...
matplotlib_rcparams=json.dumps({
"font.family": "NanumGothic",
...
}),
)
mentioning code owners of ModelCardGenerator @codesue @hanneshapke
Great idea! In addition to supporting other languages, it would be nice to be able to customize the plots.
@codesue Oh, it would be great if that's possible.
I think that is another topic, so I'm leaving that at tensorflow/model-card-toolkit#296