From 78fd584026e7895496e45c2e0baaa11d6dfde429 Mon Sep 17 00:00:00 2001 From: Tong Zhang Date: Mon, 16 Oct 2023 11:27:52 -0400 Subject: [PATCH] DOC: Fix the docstring of DataFetcher. --- phantasy/library/pv/epics_tools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phantasy/library/pv/epics_tools.py b/phantasy/library/pv/epics_tools.py index b8de2f07..a3e18e07 100644 --- a/phantasy/library/pv/epics_tools.py +++ b/phantasy/library/pv/epics_tools.py @@ -299,10 +299,10 @@ class DataFetcher: >>> ] >>> # instantiation >>> data_fetcher = DataFetcher(pvs, timeout=10) - >>> # fetch the data - >>> avg, df = data_fetcher(timespan=2.0, verbose=True) + >>> # fetch the data, see fetch_data() for the parameters definition. + >>> avg, df = data_fetcher(time_span=2.0, verbose=True) >>> # another fetch - >>> avg, _ = data_fetcher(timespan=1.0) + >>> avg, _ = data_fetcher(1.0) >>> # clean up (optional) >>> data_fetcher.reset() """