From 963617dd8d3577984fb47d5f02b8625328a266ba Mon Sep 17 00:00:00 2001 From: TomeHirata Date: Sun, 11 Aug 2024 17:22:07 +0900 Subject: [PATCH] fix: import plot function in get-started guide --- CONTRIBUTING.md | 4 ++-- docs/source/get_started.rst | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 56c8b95..476a657 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ Thank you for considering contributing to this project! Here are some guidelines ## How can I contribute to this project? ### Reporting Bugs -If you find a bug, please report it by opening an issue in the issue tracker. Provide as much detail as possible to help us understand and reproduce the issue: +If you find a bug, please report it by opening an issue in the Github issue tracker. Provide as much detail as possible to help us understand and reproduce the issue: - A clear and descriptive title. - A detailed description of the problem. - Steps to reproduce the issue. @@ -28,7 +28,7 @@ Pull requests are welcome! If you plan to make significant changes, please open - Open a pull request in the original repository. ## Development -Here are the basic commands you can use to develop this package. +Important commands and major dependencies are managed in Pipenv. Here are the basic commands you can use to develop this package. ### Install Pipenv If you don't have `pipenv` installed, you can install it using `pip`: diff --git a/docs/source/get_started.rst b/docs/source/get_started.rst index cdbc061..0e6be0a 100644 --- a/docs/source/get_started.rst +++ b/docs/source/get_started.rst @@ -55,6 +55,8 @@ Then, let's build an empirical cumulative distribution function (CDF). .. code-block:: python import dte_adj + from dte_adj.plot import plot + estimator = dte_adj.SimpleDistributionEstimator() estimator.fit(X, D, Y) cdf = estimator.predict(D, Y)