All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Don't test against and list explicit support for Python 3.7 (end of life).
- Don't include the zero (undeformed) increment in the output of
Model.plot_movie()
. - Enhance
ResultHandler.add_increment(analysis=None, extforces=None, lpf=None)
.
- Remove Excel-based input files. This removes the
file
-argument ofModel
, alladd_..._matrix()
-related methods of handlers as well as all Excel-based tests. - Remove PDF- and HTML-output conversions of Markdown-logfiles. This is considered as an external
pandoc
-task and is no more a part of TrussPy. - Remove broken
increments
argument ofModel.plot_history()
and always plot all increments instead.
- The result of the first increment contained the displacements of the first solution. However, the very first item of the results should contain the undeformed model.
- For
Model.plot_model(inc=0, contour="force")
, the contour-plot is disabled for the first increment. - Fix the plot force label shown in
Model.plot_model()
: For the first (zero) increment, the initial external loads are shown. For all other increments, the external loads scaled by the load-proportionality-factor (LPF) are shown. - Fix
Model.plot_movie(incs="all")
: Get number of increments from length of list of results
- Change default
force_scale=1.0
(from0.5
) inModel.plot_model()
andModel.plot_movie()
. - Set
title="UNDEFORMED"
if increment zero is passed toModel.plot_model(inc=0)
. - If
inc < 0
inModel.plot_model()
, evaluate the increment toinc = len(Model.Results.R) - inc
.
- Remove the
config
-argument inModel.plot_model()
(plot the deformed configuration ifinc > 0
, show the undeformed configuration withlpf=1
ifinc==0
). - Don't support
Model.plot_model(force_scale=None)
, must befloat
.
- 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)
.
- 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).
- Simplify the source code: Remove unused lines of code, To-Do's from function or class docstrings, unify file docstrings. Trim the header printed by
Model
. - Build HTML and PDF logfiles only if
Settings.logpdf=True
(Pandoc and LaTeX must be installed). Otherwise, only the Markdown logfileanalysis.md
forModel(logfile=True)
is created (no Pandoc install required).
- Added MyBinder badge and config file
environment.yml
.
- Fixed format string in
Model
.
- Added missing PyPI API token to deploy the wheel to PyPI.
- Start keeping a Changelog.