diff --git a/chronoscope/__init__.py b/chronoscope/__init__.py index 03b2cde..94b60dc 100644 --- a/chronoscope/__init__.py +++ b/chronoscope/__init__.py @@ -19,7 +19,7 @@ import errno import sys -__version__ = '0.0.3' +__version__ = '0.0.4' __author__ = 'Anatoliy Bilenko ' __license__ = 'LGPLv3' diff --git a/chronoscope/chart.py b/chronoscope/chart.py index 68384cb..b67ae87 100644 --- a/chronoscope/chart.py +++ b/chronoscope/chart.py @@ -28,7 +28,7 @@ def plot_timeline(timeline, y_pos: int): event_label = current_tick["event"] pt.hlines(y_pos_scaled, start_time, end_time, lw=4, - colors=cm.tab10(current) % 7) # type: ignore[attr-defined] + colors=cm.tab10(current % 7)) # type: ignore[attr-defined] pt.text(start_time, y_pos_scaled, event_label, rotation=90) if len(timeline[:]) == 1: diff --git a/system-test b/system-test index 2d7a356..50ea5dc 100755 --- a/system-test +++ b/system-test @@ -24,7 +24,7 @@ cmd_mkdb() { cd test/ python3 -m venv ".env" source ".env/bin/activate" - pip3 install ../dist/Chronoscope-0.0.3-py3-none-any.whl + pip3 install ../dist/Chronoscope-0.0.4-py3-none-any.whl deactivate .env/bin/chronoscope create --trace trace.txt cd -