Skip to content

Commit

Permalink
[k2Fit] hiding model_error_band as in latest kafe2
Browse files Browse the repository at this point in the history
  • Loading branch information
GuenterQuast committed Mar 19, 2021
1 parent 3924d89 commit a7cd964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PhyPraKit/PhyPraKit.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from __future__ import print_function # for python2.7 compatibility
def A0_readme():
# name chosen to make sure sphinx puts this docstring at the top
"""Package PhyPrakit
"""Package PhyPraKit
**PhyPraKit** for Data Handling, Visualisation and Analysis
Expand Down Expand Up @@ -1963,7 +1963,7 @@ def k2Fit(func, x, y,
kplot.customize('model_line', 'color', ['darkorange'])
kplot.customize('model_line', 'linestyle', ['--'])
if not plot_band:
kplot._get_plot_adapters()[0].PLOT_SUBPLOT_TYPES.pop("model_error_band")
kplot.customize('model_error_band', 'hide', [True])
else:
kplot.customize('model_error_band', 'color', ['green'])
kplot.customize('model_error_band', 'label', [model_band])
Expand Down

0 comments on commit a7cd964

Please sign in to comment.