Skip to content

Commit

Permalink
1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
erdogant committed Feb 2, 2023
1 parent 5ba1db7 commit d7b8e31
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion distfit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = 'Erdogan Tasksen'
__email__ = '[email protected]'
__version__ = '1.5.3'
__version__ = '1.5.4'


# module level doc-string
Expand Down
11 changes: 10 additions & 1 deletion distfit/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@

results = dfit.predict(y)
dfit.plot(chart='PDF')
dfit.plot(chart='CDF')
dfit.plot(chart='PDF', pdf_properties=None)
dfit.plot(chart='CDF', n_top=5)
dfit.plot(chart='CDF', pdf_properties=None, n_top=2)
dfit.plot_cdf()

# %%
Expand Down Expand Up @@ -52,6 +54,13 @@
dfit.qqplot(X)
dfit.qqplot(X, n_top=11, cmap='Set1')

dfit.plot(chart='PDF')
dfit.plot(chart='PDF', pdf_properties=None)
dfit.plot(chart='PDF', pdf_properties=None, n_top=10)
dfit.plot(chart='CDF', n_top=10)
dfit.plot(chart='CDF', pdf_properties=None, n_top=10)


# fig, ax = dfit.plot(chart='CDF', n_top=10);
# dfit.plot(chart='PDF', n_top=10, fig=fig, ax=ax);
# dfit.qqplot(X, n_top=10, fig=fig, ax=ax);
Expand Down

0 comments on commit d7b8e31

Please sign in to comment.