Closed CamDavidsonPilon closed 5 years ago
This PR refactors _plotter to use errorbars and sets defaults. I think this is the abstraction you want.
_plotter
Using your test code:
import matplotlib.pyplot as plt import zepid as ze df = ze.load_sample_data(False) rd = ze.RiskDifference() rd.fit(df, exposure='art', outcome='dead') rd.plot(marker='*', markersize=20, color='r') # Custom markers plt.show()
we get nice pictures:
I've also confirmed this works for >2 groups.
This PR refactors
_plotter
to use errorbars and sets defaults. I think this is the abstraction you want.Using your test code:
we get nice pictures:
I've also confirmed this works for >2 groups.