Skip to content

Commit

Permalink
add CDF
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunyez committed Oct 6, 2023
1 parent fec88a5 commit 4241427
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vse_sync_pp/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def _plot_hist(self, ax):
bins='scott',
)
ax.hist(bins[:-1], bins, weights=counts)
ax.ecdf(np.array(self._Y_data, dtype=float), complementary=True, label="CDF") # noqa
self._set_yscale(ax)
if self._x.scale is not None:
ax.set_xscale(self._x.scale, **(self._x.scale_kwargs or {}))
Expand Down

0 comments on commit 4241427

Please sign in to comment.