v1.0.4
[1.0.4] - 2023-05-03
Changed
- Change default config from
Model.plot_model(config="both")
toModel.plot_model(config="deformed")
. - Change default config from
Model.plot_movie(config="both")
toModel.plot_movie(config="deformed")
. - Pass optional keyword-arguments (like
fps
orduration
) to the underlyingpng_to_gif(**kwargs)
-call insideModel.plot_movie(**kwargs)
.
Fixed
- Fix overlapping title and text in
Model.plot_model()
andModel.plot_movie()
: Change relative position of the force-scale text box intools.plot_utilities.p_model()
fromax.text2D(0.3, 1.05, verticalalignment="top")
toax.text2D(0.5, 0.95, verticalalignment="top", horizontalalignment="center")
. Now identical arguments for calling 2D (ax.text()
) and 3D (ax.text2D()
) are used. - Don't pass
fps
toimagio.mimwrite()
(use the default settings instead).
What's Changed
- Fix plots: Change default config, fix overlap of texts and replace
fps
byduration
by @adtzlr in #40
Full Changelog: v1.0.3...v1.0.4