@@ -2435,11 +2435,7 @@ def figimage(
2435
2435
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2436
2436
@_copy_docstring_and_deprecators (Figure .text )
2437
2437
def figtext (
2438
- x : float ,
2439
- y : float ,
2440
- s : str ,
2441
- fontdict : dict [str , Any ] | None = None ,
2442
- ** kwargs ,
2438
+ x : float , y : float , s : str , fontdict : dict [str , Any ] | None = None , ** kwargs
2443
2439
) -> Text :
2444
2440
return gcf ().text (x , y , s , fontdict = fontdict , ** kwargs )
2445
2441
@@ -2487,12 +2483,7 @@ def subplots_adjust(
2487
2483
hspace : str | None = None ,
2488
2484
) -> None :
2489
2485
return gcf ().subplots_adjust (
2490
- left = left ,
2491
- bottom = bottom ,
2492
- right = right ,
2493
- top = top ,
2494
- wspace = wspace ,
2495
- hspace = hspace ,
2486
+ left = left , bottom = bottom , right = right , top = top , wspace = wspace , hspace = hspace
2496
2487
)
2497
2488
2498
2489
@@ -2525,9 +2516,7 @@ def waitforbuttonpress(timeout: float = -1):
2525
2516
def acorr (
2526
2517
x : ArrayLike , * , data = None , ** kwargs
2527
2518
) -> tuple [np .ndarray , np .ndarray , LineCollection | Line2D , Line2D | None ]:
2528
- return gca ().acorr (
2529
- x , ** ({"data" : data } if data is not None else {}), ** kwargs
2530
- )
2519
+ return gca ().acorr (x , ** ({"data" : data } if data is not None else {}), ** kwargs )
2531
2520
2532
2521
2533
2522
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2606,9 +2595,7 @@ def autoscale(
2606
2595
2607
2596
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2608
2597
@_copy_docstring_and_deprecators (Axes .axhline )
2609
- def axhline (
2610
- y : float = 0 , xmin : float = 0 , xmax : float = 1 , ** kwargs
2611
- ) -> Line2D :
2598
+ def axhline (y : float = 0 , xmin : float = 0 , xmax : float = 1 , ** kwargs ) -> Line2D :
2612
2599
return gca ().axhline (y = y , xmin = xmin , xmax = xmax , ** kwargs )
2613
2600
2614
2601
@@ -2646,9 +2633,7 @@ def axline(
2646
2633
2647
2634
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2648
2635
@_copy_docstring_and_deprecators (Axes .axvline )
2649
- def axvline (
2650
- x : float = 0 , ymin : float = 0 , ymax : float = 1 , ** kwargs
2651
- ) -> Line2D :
2636
+ def axvline (x : float = 0 , ymin : float = 0 , ymax : float = 1 , ** kwargs ) -> Line2D :
2652
2637
return gca ().axvline (x = x , ymin = ymin , ymax = ymax , ** kwargs )
2653
2638
2654
2639
@@ -2686,9 +2671,7 @@ def bar(
2686
2671
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2687
2672
@_copy_docstring_and_deprecators (Axes .barbs )
2688
2673
def barbs (* args , data = None , ** kwargs ) -> Barbs :
2689
- return gca ().barbs (
2690
- * args , ** ({"data" : data } if data is not None else {}), ** kwargs
2691
- )
2674
+ return gca ().barbs (* args , ** ({"data" : data } if data is not None else {}), ** kwargs )
2692
2675
2693
2676
2694
2677
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2810,18 +2793,13 @@ def broken_barh(
2810
2793
** kwargs ,
2811
2794
) -> BrokenBarHCollection :
2812
2795
return gca ().broken_barh (
2813
- xranges ,
2814
- yrange ,
2815
- ** ({"data" : data } if data is not None else {}),
2816
- ** kwargs ,
2796
+ xranges , yrange , ** ({"data" : data } if data is not None else {}), ** kwargs
2817
2797
)
2818
2798
2819
2799
2820
2800
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2821
2801
@_copy_docstring_and_deprecators (Axes .clabel )
2822
- def clabel (
2823
- CS : ContourSet , levels : ArrayLike | None = None , ** kwargs
2824
- ) -> list [Text ]:
2802
+ def clabel (CS : ContourSet , levels : ArrayLike | None = None , ** kwargs ) -> list [Text ]:
2825
2803
return gca ().clabel (CS , levels = levels , ** kwargs )
2826
2804
2827
2805
@@ -2997,9 +2975,7 @@ def eventplot(
2997
2975
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2998
2976
@_copy_docstring_and_deprecators (Axes .fill )
2999
2977
def fill (* args , data : Any | None = None , ** kwargs ) -> list [Polygon ]:
3000
- return gca ().fill (
3001
- * args , ** ({"data" : data } if data is not None else {}), ** kwargs
3002
- )
2978
+ return gca ().fill (* args , ** ({"data" : data } if data is not None else {}), ** kwargs )
3003
2979
3004
2980
3005
2981
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -3189,11 +3165,7 @@ def stairs(
3189
3165
def hist2d (
3190
3166
x : ArrayLike ,
3191
3167
y : ArrayLike ,
3192
- bins : None
3193
- | int
3194
- | tuple [int , int ]
3195
- | ArrayLike
3196
- | tuple [ArrayLike , ArrayLike ] = 10 ,
3168
+ bins : None | int | tuple [int , int ] | ArrayLike | tuple [ArrayLike , ArrayLike ] = 10 ,
3197
3169
range : ArrayLike | None = None ,
3198
3170
density : bool = False ,
3199
3171
weights : ArrayLike | None = None ,
@@ -3298,9 +3270,7 @@ def legend(*args, **kwargs) -> Legend:
3298
3270
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3299
3271
@_copy_docstring_and_deprecators (Axes .locator_params )
3300
3272
def locator_params (
3301
- axis : Literal ["both" , "x" , "y" ] = "both" ,
3302
- tight : bool | None = None ,
3303
- ** kwargs ,
3273
+ axis : Literal ["both" , "x" , "y" ] = "both" , tight : bool | None = None , ** kwargs
3304
3274
) -> None :
3305
3275
return gca ().locator_params (axis = axis , tight = tight , ** kwargs )
3306
3276
@@ -3604,10 +3574,7 @@ def scatter(
3604
3574
alpha : float | None = None ,
3605
3575
linewidths : float | Sequence [float ] | None = None ,
3606
3576
* ,
3607
- edgecolors : Literal ["face" , "none" ]
3608
- | Color
3609
- | Sequence [Color ]
3610
- | None = None ,
3577
+ edgecolors : Literal ["face" , "none" ] | Color | Sequence [Color ] | None = None ,
3611
3578
plotnonfinite : bool = False ,
3612
3579
data = None ,
3613
3580
** kwargs ,
@@ -3662,8 +3629,7 @@ def specgram(
3662
3629
pad_to : int | None = None ,
3663
3630
sides : Literal ["default" , "onesided" , "twosided" ] | None = None ,
3664
3631
scale_by_freq : bool | None = None ,
3665
- mode : Literal ["default" , "psd" , "magnitude" , "angle" , "phase" ]
3666
- | None = None ,
3632
+ mode : Literal ["default" , "psd" , "magnitude" , "angle" , "phase" ] | None = None ,
3667
3633
scale : Literal ["default" , "linear" , "dB" ] | None = None ,
3668
3634
vmin : float | None = None ,
3669
3635
vmax : float | None = None ,
@@ -3722,9 +3688,7 @@ def spy(
3722
3688
3723
3689
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3724
3690
@_copy_docstring_and_deprecators (Axes .stackplot )
3725
- def stackplot (
3726
- x , * args , labels = (), colors = None , baseline = "zero" , data = None , ** kwargs
3727
- ):
3691
+ def stackplot (x , * args , labels = (), colors = None , baseline = "zero" , data = None , ** kwargs ):
3728
3692
return gca ().stackplot (
3729
3693
x ,
3730
3694
* args ,
@@ -3870,11 +3834,7 @@ def table(
3870
3834
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3871
3835
@_copy_docstring_and_deprecators (Axes .text )
3872
3836
def text (
3873
- x : float ,
3874
- y : float ,
3875
- s : str ,
3876
- fontdict : dict [str , Any ] | None = None ,
3877
- ** kwargs ,
3837
+ x : float , y : float , s : str , fontdict : dict [str , Any ] | None = None , ** kwargs
3878
3838
) -> Text :
3879
3839
return gca ().text (x , y , s , fontdict = fontdict , ** kwargs )
3880
3840
@@ -4059,9 +4019,7 @@ def title(
4059
4019
y : float | None = None ,
4060
4020
** kwargs ,
4061
4021
) -> Text :
4062
- return gca ().set_title (
4063
- label , fontdict = fontdict , loc = loc , pad = pad , y = y , ** kwargs
4064
- )
4022
+ return gca ().set_title (label , fontdict = fontdict , loc = loc , pad = pad , y = y , ** kwargs )
4065
4023
4066
4024
4067
4025
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
0 commit comments