From 005f1c4f652fc5c17862a11fbf279904e6253a44 Mon Sep 17 00:00:00 2001 From: nikohansen Date: Thu, 21 Apr 2022 21:45:15 +0200 Subject: [PATCH] fix comment on xlimit_pprldmany --- code-postprocessing/cocopp/compall/pprldmany.py | 2 +- code-postprocessing/cocopp/genericsettings.py | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/code-postprocessing/cocopp/compall/pprldmany.py b/code-postprocessing/cocopp/compall/pprldmany.py index 59c77b13d..b16cf41a4 100644 --- a/code-postprocessing/cocopp/compall/pprldmany.py +++ b/code-postprocessing/cocopp/compall/pprldmany.py @@ -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!? diff --git a/code-postprocessing/cocopp/genericsettings.py b/code-postprocessing/cocopp/genericsettings.py index 7bc51cd87..01075448a 100644 --- a/code-postprocessing/cocopp/genericsettings.py +++ b/code-postprocessing/cocopp/genericsettings.py @@ -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]``?"""