Enable the experimental `QPrivatePath` functionality from latest `pyqtgraph`

pre_viz_calls
Tyler Goodlet 2022-12-19 17:26:15 -05:00
parent 4dc8051853
commit 6cd61c3664
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ def _do_overrides() -> None:
pg.functions.invertQTransform = invertQTransform
pg.PlotItem = PlotItem
# enable "QPainterPathPrivate for faster arrayToQPath" from
# https://github.com/pyqtgraph/pyqtgraph/pull/2324
pg.setConfigOption('enableExperimental', True)
# NOTE: the below customized type contains all our changes on a method
# by method basis as per the diff: