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

multichartz
Tyler Goodlet 2022-12-19 17:26:15 -05:00
parent c53cc5f384
commit c609e1b663
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: