diff --git a/src/vitabel/timeseries.py b/src/vitabel/timeseries.py index 7735043..0274729 100644 --- a/src/vitabel/timeseries.py +++ b/src/vitabel/timeseries.py @@ -3540,6 +3540,7 @@ def repaint_plot(start, stop): overview_indicators, \ screen_pixel_width data_width = (stop - start).total_seconds() + screen_pixel_width, _ = fig.canvas.get_width_height() resolution = data_width / screen_pixel_width partial_interval_artist_ax = None