Skip to content

Commit

Permalink
adding to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tfm000 committed Nov 28, 2023
1 parent 431198e commit c389712
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file modified media/univariate_fitter_example_figure1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion sklarpy/univariate/_fitted_dists.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,10 @@ def plot(self, xrange: np.ndarray = None, include_empirical: bool = True,
alpha=empirical_alpha, label=empirical_label)
ax[3].plot(xrange, xrange, color=qqplot_yx_color,
alpha=qqplot_yx_alpha, label='y=x')
ax[3].plot(self.ppf(qrange), empirical_ppf_values, color=color,
ppf_values = self.ppf(qrange)
ax[3].plot(ppf_values, empirical_ppf_values, color=color,
alpha=alpha, label=self.name)
ax[3].set_xlim([ppf_values.min(), ppf_values.max()])

# plotting distribution
ax[0].plot(xrange, self.pdf(xrange), color=color,
Expand Down

0 comments on commit c389712

Please sign in to comment.