Skip to content

Commit 370d3b3

Browse files
committed
add DeprecationWarning
1 parent 498bee2 commit 370d3b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvlib/irradiance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def poa_components(aoi, dni, poa_sky_diffuse, poa_ground_diffuse):
499499
def globalinplane(*args):
500500
import warnings
501501
warnings.warn('globalinplane will be removed in 0.6.0.'
502-
'Use poa_components instead')
502+
'Use poa_components instead', DeprecationWarning)
503503
irrads = poa_components(*args)
504504
irrads.pop('poa_sky_diffuse')
505505
irrads.pop('poa_ground_diffuse')

0 commit comments

Comments
 (0)