-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hello,
I really enjoy using ultraplot to create publication-quality plots with simple and straightforward settings.
Likewise, when I applied it to animation creation, I ran into a couple of weird problems.
So, I would like to keep them as notes here.
1. Need to set matplotlib.use("Agg")
When creating an animation with Python scripts, it is necessary to set the backend to Agg; otherwise, the resulting video contains totally horizontal noise.
2. Set tight=False
Set tight=False to avoid changing layout during animation. This change might be triggered when using the format method in the update function used for FuncAnimation.
3. Axis labels (toplabels, leftlabels) are outside the area
Labels like toplabels and leftlabels seem to be placed outside the figure rendering area.
This might be due to the tight layout, but I haven't found a solution yet.
This issue may be irrelevant to those who only want to create static images, but I would be happy if it is useful to someone.