We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aada537 commit fce4b0bCopy full SHA for fce4b0b
preliz/utils/plot_utils.py
@@ -34,16 +34,17 @@ def plot_pointinterval(distribution, quantiles=None, rotated=False, ax=None):
34
35
if rotated:
36
if q_s_size == 5:
37
- ax.plot([0, 0], (q_s.pop(0), q_s.pop(-1)), "k", lw=1.5)
+ ax.plot([0, 0], (q_s.pop(0), q_s.pop(-1)), "k", solid_capstyle="butt", lw=1.5)
38
if q_s_size > 2:
39
- ax.plot([0, 0], (q_s.pop(0), q_s.pop(-1)), "k", lw=4)
+ ax.plot([0, 0], (q_s.pop(0), q_s.pop(-1)), "k", solid_capstyle="butt", lw=4)
40
if q_s_size > 0:
41
ax.plot(0, q_s[0], "wo", mec="k")
42
else:
43
44
- ax.plot((q_s.pop(0), q_s.pop(-1)), [0, 0], "k", lw=1.5)
+ ax.plot((q_s.pop(0), q_s.pop(-1)), [0, 0], "k", solid_capstyle="butt", lw=1.5)
45
46
- ax.plot((q_s.pop(0), q_s.pop(-1)), [0, 0], "k", lw=4)
+ ax.plot((q_s.pop(0), q_s.pop(-1)), [0, 0], "k", solid_capstyle="butt", lw=4)
47
+
48
49
ax.plot(q_s[0], 0, "wo", mec="k")
50
0 commit comments