Skip to content

Commit

Permalink
fix comment on xlimit_pprldmany
Browse files Browse the repository at this point in the history
  • Loading branch information
nikohansen committed Apr 22, 2022
1 parent e293827 commit 005f1c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion code-postprocessing/cocopp/compall/pprldmany.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
PlotType = ppfig.enum('ALG', 'DIM', 'FUNC')

displaybest = True
x_limit = genericsettings.xlimit_pprldmany
x_limit = genericsettings.xlimit_pprldmany # also (re-)set via config
divide_by_dimension = True
annotation_line_end_relative = 1.065 # lines between graph and annotation, was 1.11, see also subplots_adjust
annotation_space_end_relative = 1.21 # figure space end relative to x_limit, space is however determined rather by subplots_adjust(...) below!?
Expand Down
6 changes: 2 additions & 4 deletions code-postprocessing/cocopp/genericsettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@
xlimit_pprldmany = 1e7
"""maximal run length multiplier used in `pprldmany`.
After a manual change like ``cocopp.genericsettings.xlimit_pprldmany =
1e5``, ``cocopp.config.config()`` needs to be called to "activate" the change.
Alternatively, we could also directly set
``cocopp.compall.pprldmany.x_limit = 1e5``.
This sets ``cocopp.compall.pprldmany.x_limit`` via
calling `cocopp.config.config()``.
Noisy setting should be rather 1e8?
?maybe better: ``10 * genericsettings.evaluation_setting[1]``?"""
Expand Down

0 comments on commit 005f1c4

Please sign in to comment.