Commit ce0042b441ed6e22e4eb7d48d2896a5fb048b533
1 parent
c2f9ccb7
Correct Python plotting format
Showing
1 changed file
with
1 additions
and
1 deletions
examples/show_pha.py
| ... | ... | @@ -70,7 +70,7 @@ def show_pha(pha, plotfile=''): |
| 70 | 70 | plt.semilogy(energy, counts, 'ro') |
| 71 | 71 | else: |
| 72 | 72 | plt.loglog(energy, counts, 'ro') |
| 73 | - plt.errorbar(energy, counts, error, fmt='none', ecolor='r') | |
| 73 | + plt.errorbar(energy, counts, error, fmt='ro', ecolor='r') | |
| 74 | 74 | |
| 75 | 75 | # Set axes |
| 76 | 76 | if channels: | ... | ... |