Commit 2ed5944
committed
Default animation.convert_args to ["-layers", "OptimizePlus"].
On the simple_anim.py example, adding e.g.
```
plt.rcParams["animation.writer"] = "imagemagick"
plt.rcParams["animation.convert_args"] = []
ani.save("old.gif")
plt.rcParams["animation.convert_args"] = ["-layers", "OptimizePlus"]
ani.save("new.gif")
```
shows that OptimizePlus yields a >2.5x decrease in gif size.1 parent 4f9ac38 commit 2ed5944
File tree
2 files changed
+5
-1
lines changed- doc/api/next_api_changes/behavior
- lib/matplotlib/mpl-data
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
782 | | - | |
| 782 | + | |
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
0 commit comments