reshape code so that the figures can be re-used in other modules (class based...

reshape code so that the figures can be re-used in other modules (class based plotting, add input loading function to read inputs files), split the code in different files (utils.py for utilities, figure.py for plotting related classes, commands.py for click commands). Change some click command defaults (nbins:  instead of 20, tablefmt:  instead of ), add click functionalities for a greater control of the plots (e.g. min/max axes values) and a nicer default visual. Fix the documentation and modify user guide according to the changes.
Status Job ID Name Coverage
  Build
failed #129313
docker
build_linux_27

00:12:50

84.0%
passed #129314
docker
build_linux_36

00:13:48

84.0%
failed #129315
macosx
build_macosx_27

00:24:47

84.0%
passed #129316
macosx
build_macosx_36

00:26:37

84.0%
 
Name Stage Failure
failed
build_macosx_27 Build There is an unknown failure, please try again
(08:35:44.630) export CURL_CA_BUNDLE=/Users/buildbot/work/gitlab/f6f95b82/0/bob/bob.measure/_ci/cacert.pem
(08:35:44.640)
export SSL_CERT_FILE=/Users/buildbot/work/gitlab/f6f95b82/0/bob/bob.measure/_ci/cacert.pem
(08:35:44.652)
export GIT_SSL_CAINFO=/Users/buildbot/work/gitlab/f6f95b82/0/bob/bob.measure/_ci/cacert.pem
(08:35:44.673)
export DOC_SERVER_PREFIX=public-upload/docs/bob/bob.measure
(08:35:44.688)
DOC_UPLOADS=public-upload/docs/bob/bob.measure/theo-cli/
(08:35:44.701)
export LANG=en_US.UTF-8
(08:35:44.740)
export LC_ALL=en_US.UTF-8
(08:35:44.752)
export MATPLOTLIBRC=/Users/buildbot/work/gitlab/f6f95b82/0/bob/bob.measure/_ci
ERROR: Job failed: exit status 1
failed
build_linux_27 Build There is an unknown failure, please try again
(06:25:03.165) export CURL_CA_BUNDLE=/local/builds/bob/bob.measure/_ci/cacert.pem
(06:25:03.166)
export SSL_CERT_FILE=/local/builds/bob/bob.measure/_ci/cacert.pem
(06:25:03.167)
export GIT_SSL_CAINFO=/local/builds/bob/bob.measure/_ci/cacert.pem
(06:25:03.168)
export DOC_SERVER_PREFIX=public-upload/docs/bob/bob.measure
(06:25:03.169)
DOC_UPLOADS=public-upload/docs/bob/bob.measure/theo-cli/
(06:25:03.170)
export LANG=en_US.UTF-8
(06:25:03.171)
export LC_ALL=en_US.UTF-8
(06:25:03.172)
export MATPLOTLIBRC=/local/builds/bob/bob.measure/_ci
ERROR: Job failed: exit code 1