Skip to content

Commit

Permalink
make sure empirical mean and empirical stddev lines have same color
Browse files Browse the repository at this point in the history
  • Loading branch information
ivalaginja committed Feb 11, 2021
1 parent 1b5ab9d commit 9e8f0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastis/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def plot_monte_carlo_simulation(random_contrasts, out_dir, c_target, segments=Tr
if plot_empirical_stats:
empirical_mean = np.mean(random_contrasts)
empirical_stddev = np.std(random_contrasts)
plt.axvline(empirical_mean, c='dimgrey', ls='-.', lw='3')
plt.axvline(empirical_mean, c='maroon', ls='-.', lw='3')
plt.axvline(empirical_mean + empirical_stddev, c='maroon', ls=':', lw=4, label='Empirical stddev')
plt.axvline(empirical_mean - empirical_stddev, c='maroon', ls=':', lw=4)
if stddev or plot_empirical_stats:
Expand Down

0 comments on commit 9e8f0de

Please sign in to comment.