Restoring Matplotlib default styles using `with`

前端 未结 0 1597
生来不讨喜
生来不讨喜 2021-02-14 17:19

I would like to be able to temporarily used arbitrary staples for my Matplotlib plot using the idiom

with my_styles(style):
    # plotting code ...
相关标签:
回答
  • 消灭零回复
提交回复
热议问题