Optimisation#
This is a short guide on how to speed up slow plots. See Optimisation for an example that illustrates some of these options.
Be Explicit#
Often the simplest speedup can be achieved by explicitly setting limits. Autoscaling is
convenient but slow. Other things you can define explicitly include:
Set
poswhen using aQGradient.Set
skip_finite_checktoTruewhen usingsquap.plot()or similar plotting functions.Set
AntialiasingtoFalsewhen usingsquap.plot()or similar plotting functions.
Skip Boring Frames#
Sometimes the calculations are simple but require a certain very low timestep. The frames are very similar, so sometimes you can do multiple timesteps per refresh. todo: include and link to example