summaryrefslogtreecommitdiffstats
path: root/fit_sbp.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-05-06 12:55:31 +0800
committerAaron LI <aaronly.me@outlook.com>2016-05-06 12:55:31 +0800
commit163ea88c933fc6a27df4503c54db6f97d4e9fe5b (patch)
tree8bd43d1a91c038ce36ba7754745f59f50484b195 /fit_sbp.py
parenta7498664569193a6c1e519604b219abd0edb0c85 (diff)
downloadcexcess-163ea88c933fc6a27df4503c54db6f97d4e9fe5b.tar.bz2
fit_sbp.py: adjust errorbar styles
Diffstat (limited to 'fit_sbp.py')
-rwxr-xr-xfit_sbp.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/fit_sbp.py b/fit_sbp.py
index 5cba2ba..36c3688 100755
--- a/fit_sbp.py
+++ b/fit_sbp.py
@@ -7,6 +7,7 @@
#
# Changelogs:
# 2016-05-06:
+# * Adjust errorbar styles
# * Also plot r500 positions of interest with vertical lines
# * Adjust plot appearance (e.g., text positions, secondary r500 axis)
# * Simplify `super()` usage
@@ -121,7 +122,7 @@ from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
from matplotlib.figure import Figure
from configobj import ConfigObj
-__version__ = "0.6.4"
+__version__ = "0.6.5"
__date__ = "2016-05-06"
plt.style.use("ggplot")
@@ -656,9 +657,9 @@ class SbpFit:
eb = ax.errorbar(self.xdata[ignore_mask], self.ydata[ignore_mask],
xerr=self.xerr[ignore_mask],
yerr=self.yerr[ignore_mask],
- fmt="none", elinewidth=2, capthick=2)
- eb[-1][0].set_linestyle("dashdot")
- eb[-1][1].set_linestyle("dashdot")
+ fmt="none", elinewidth=1, capthick=1)
+ # eb[-1][0].set_linestyle("dashdot")
+ # eb[-1][1].set_linestyle("dashdot")
# fitted model
xmin = 1.0
xmax = self.xdata[-1] + self.xerr[-1]