Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdf repeated part #81

Open
MAfarrag opened this issue Nov 30, 2023 · 0 comments
Open

pdf repeated part #81

MAfarrag opened this issue Nov 30, 2023 · 0 comments

Comments

@MAfarrag
Copy link
Member

This plotting part is repeated in all distribution but is not yet passed upstream to the abstract class method because of the

[statista] statista/distributions.py (Lines 977-994)


if plot_figure:
            Qx = np.linspace(
                float(self.data_sorted[0]), 1.5 * float(self.data_sorted[-1]), 10000
            )
            pdf_fitted = self.pdf(parameters, actualdata=Qx)

            fig, ax = Plot.pdf(
                Qx,
                pdf_fitted,
                self.data_sorted,
                figsize=figsize,
                xlabel=xlabel,
                ylabel=ylabel,
                fontsize=fontsize,
            )
            return pdf, fig, ax
        else:
            return pdf

Open in IDE · Open on GitHub

Created from JetBrains using CodeStream

@MAfarrag MAfarrag changed the title repeated part pdf repeated part Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant