Skip to content

LucaMarconato/dynamic_scatter_plot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Slow rendering when changing the colors of a scatter plot

The dependencies are managed by Conda, so for running the example you can simply use the following:

git clone https://github.com/LucaMarconato/dynamic_scatter_plot.git
cd dynamic_scatter_plot
conda env create -f dynamic_scatter_plot.yml
conda activate dynamic_scatter_plot
python dynamic_scatter_plot.py

Output, note the slider lagging behind the cursor:

Notes

I believe that the rendering could be made more performant since we are changing only the colors of the points and not their positions.

About

A minimal working example for a bug report concerning the performance of PyQtGraph

Resources

Stars

Watchers

Forks