Commit ce0042b441ed6e22e4eb7d48d2896a5fb048b533

Authored by Jürgen Knödlseder
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,7 +70,7 @@ def show_pha(pha, plotfile=''):
70 plt.semilogy(energy, counts, 'ro') 70 plt.semilogy(energy, counts, 'ro')
71 else: 71 else:
72 plt.loglog(energy, counts, 'ro') 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 # Set axes 75 # Set axes
76 if channels: 76 if channels: