Commit 7354430
committed
Small cleanups to math_to_image.
- parse() already normalizes prop=None to prop=FontProperties().
- We don't need to explicitly attach a canvas to a plain Figure() before
calling savefig() anymore; FigureCanvasBase is always attached and
handles the dispatching to the correct concrete canvas class.1 parent e03a894 commit 7354430
1 file changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | 591 | | |
597 | 592 | | |
598 | 593 | | |
599 | 594 | | |
600 | 595 | | |
601 | 596 | | |
602 | | - | |
603 | 597 | | |
604 | 598 | | |
605 | 599 | | |
0 commit comments