From 6214ff6de803c0c89e9eccebd1e41c58f76dc348 Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Mon, 13 Jul 2020 12:53:06 -0700 Subject: [PATCH] Add Pa to units --- pyqtgraph/units.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyqtgraph/units.py b/pyqtgraph/units.py index 6b7f3099..adf5dc55 100644 --- a/pyqtgraph/units.py +++ b/pyqtgraph/units.py @@ -10,7 +10,7 @@ ## No unicode variable names (μ,Ω) allowed until python 3 SI_PREFIXES = 'yzafpnum kMGTPEZY' -UNITS = 'm,s,g,W,J,V,A,F,T,Hz,Ohm,S,N,C,px,b,B'.split(',') +UNITS = 'm,s,g,W,J,V,A,F,T,Hz,Ohm,S,N,C,px,b,B,Pa'.split(',') allUnits = {} def addUnit(p, n):