Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gregory Ashton
PyFstat
Commits
f2cba8b5
Commit
f2cba8b5
authored
Apr 11, 2017
by
Gregory Ashton
Browse files
Adds vertical bar between burnin and prod
parent
29bc9c7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyfstat/mcmc_based_searches.py
View file @
f2cba8b5
...
...
@@ -784,10 +784,12 @@ class MCMCSearch(core.BaseSearchClass):
axes
[
i
].
ticklabel_format
(
useOffset
=
False
,
axis
=
'y'
)
cs
=
chain
[:,
:,
i
].
T
if
burnin_idx
>
0
:
axes
[
i
].
plot
(
xoffset
+
idxs
[:
convergence_idx
],
cs
[:
convergence_idx
]
-
subtractions
[
i
],
axes
[
i
].
plot
(
xoffset
+
idxs
[:
convergence_idx
+
1
],
cs
[:
convergence_idx
+
1
]
-
subtractions
[
i
],
color
=
"r"
,
alpha
=
alpha
,
lw
=
lw
)
axes
[
i
].
axvline
(
xoffset
+
idxs
[
convergence_idx
],
color
=
'k'
,
ls
=
'--'
,
lw
=
0.25
)
axes
[
i
].
plot
(
xoffset
+
idxs
[
burnin_idx
:],
cs
[
burnin_idx
:]
-
subtractions
[
i
],
color
=
"k"
,
alpha
=
alpha
,
lw
=
lw
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment