Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/source/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@ uv run pytest

We use [`ruff`](https://docs.astral.sh/ruff/) for linting and formatting the code base,
and [semantic versioning](https://semver.org/) for the release tags.


## Changelog

A detailed changelog summarizing all changes incorporated in vitabel between
releases can be found at the
[GitHub Release Overview](https://github.com/UniGrazMath/vitabel/releases).
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "vitabel"
version = "0.0.1"
version = "0.1.0"
description = "A toolbox for plotting and interactively labeling vital data."
authors = [
{name = "Wolfgang J. Kern", email = "wolfgangjohannkern@gmail.com"},
Expand Down
8 changes: 4 additions & 4 deletions src/vitabel/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,10 +964,10 @@ class Label(TimeSeriesBase):
When plotting label data using vertical lines, this argument
controls how text labels for the lines are determined. Available options are:

- ``'text_data'``: Uses strings from :attr:`.text_data` as line labels.
- ``'text_data'``: Uses strings from :attr:`text_data` as line labels.
- ``'data'``: Uses string representations of the numeric :attr:`.data`
values as line labels.
- ``'combined'``: Uses texts from :attr:`.text_data` where available and
- ``'combined'``: Uses texts from :attr:`text_data` where available and
fills the rest with entries from :attr:`.data`.
- ``'disabled'``: No text is shown next to the vertical lines.

Expand Down Expand Up @@ -1310,7 +1310,7 @@ def add_data(
The value of the data point. If not specified,
the value is set to ``numpy.nan``.
text
The string to be inserted into :attr:`.text_data`.
The string to be inserted into :attr:`.Label.text_data`.
"""
# check corner case first: is label empty and passed time absolute?
if self.is_empty() and isinstance(time_data, Timestamp):
Expand Down Expand Up @@ -2142,7 +2142,7 @@ def add_data(
The numeric value of the data point. If not specified,
the value is set to ``numpy.nan``.
text
The string to be inserted into :attr:`.text_data`.
The string to be inserted into :attr:`text_data`.
"""
interval_start, interval_end = time_data
if self.is_empty() and isinstance(interval_start, Timestamp):
Expand Down
6 changes: 3 additions & 3 deletions src/vitabel/vitals.py
Original file line number Diff line number Diff line change
Expand Up @@ -1279,15 +1279,15 @@ def get_label_infos(self, **kwargs) -> pd.DataFrame:
return _timeseries_list_info(self.get_labels(**kwargs))

def info(self, **kwargs) -> None:
"""Displays relevant information about the channels and labels
"""Display relevant information about the channels and labels
currently present in the recording in two separate
``pandas.DataFrame``s.
``pandas.DataFrame`` objects.

Parameters
----------
kwargs
Keyword arguments to filter the channels and labels by.
See :meth:`.get_channel` and :meth:`.get_label` for valid
See :meth:`.get_channels` and :meth:`.get_labels` for valid
specifications.

Returns
Expand Down