QuantSoftware / QuantSoftwareToolkit

QuantSoftwareToolkit
Other
464 stars 215 forks source link

Error bars on eventprofiler are hardly visible #59

Closed Wesseldr closed 9 years ago

Wesseldr commented 9 years ago

errorbars

The alpha used equals 0.1 combined with the pastel color #AAAFF is almost invisible on PDF charts (see screenshots). The light color of #AAAFF would probably already sufficient to have a distinction between the error bars and the chart. Suggestion setting it to 0.9 for a much more clear and visible error bar on the event study charts.

On line 76~77 in the file QuantSoftwareToolkit / QSTK / qstkstudy / EventProfiler.py

    plt.errorbar(li_time[i_lookback:], na_mean[i_lookback:],
                    yerr=na_std[i_lookback:], ecolor='#AAAAFF',
                    alpha=0.1)
```python

Wessel
sb2nov commented 9 years ago

1eb51971d929a9f4a4accf465beb45d0b91a3868 should fix this.