Implement plotly resamper and precompute data #5

Merged
eeeck merged 5 commits from dev-plotly-resampler into dev-dash 2026-07-22 18:40:45 +02:00
Showing only changes of commit c06d813c26 - Show all commits
+4 -1
View File
@@ -41,7 +41,10 @@ def prepare_data(df, target_id):
return filtered, byte_cols
def plot_bits(df, byte_cols, can_id, title):
fig = FigureResampler()
fig = FigureResampler(
resampled_trace_prefix_suffix=("", ""),
show_mean_aggregation_size=False
)
colors = ['#e41a1c', '#377eb8', '#4daf4a', '#984ea3', '#ff7f00', '#ffff33', '#a65628', '#f781bf']
n = len(byte_cols)