@@ -2460,11 +2460,7 @@ def figimage(
2460
2460
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2461
2461
@_copy_docstring_and_deprecators (Figure .text )
2462
2462
def figtext (
2463
- x : float ,
2464
- y : float ,
2465
- s : str ,
2466
- fontdict : dict [str , Any ] | None = None ,
2467
- ** kwargs ,
2463
+ x : float , y : float , s : str , fontdict : dict [str , Any ] | None = None , ** kwargs
2468
2464
) -> Text :
2469
2465
return gcf ().text (x , y , s , fontdict = fontdict , ** kwargs )
2470
2466
@@ -2512,12 +2508,7 @@ def subplots_adjust(
2512
2508
hspace : str | None = None ,
2513
2509
) -> None :
2514
2510
return gcf ().subplots_adjust (
2515
- left = left ,
2516
- bottom = bottom ,
2517
- right = right ,
2518
- top = top ,
2519
- wspace = wspace ,
2520
- hspace = hspace ,
2511
+ left = left , bottom = bottom , right = right , top = top , wspace = wspace , hspace = hspace
2521
2512
)
2522
2513
2523
2514
@@ -2550,9 +2541,7 @@ def waitforbuttonpress(timeout: float = -1):
2550
2541
def acorr (
2551
2542
x : ArrayLike , * , data = None , ** kwargs
2552
2543
) -> tuple [np .ndarray , np .ndarray , LineCollection | Line2D , Line2D | None ]:
2553
- return gca ().acorr (
2554
- x , ** ({"data" : data } if data is not None else {}), ** kwargs
2555
- )
2544
+ return gca ().acorr (x , ** ({"data" : data } if data is not None else {}), ** kwargs )
2556
2545
2557
2546
2558
2547
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2631,9 +2620,7 @@ def autoscale(
2631
2620
2632
2621
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2633
2622
@_copy_docstring_and_deprecators (Axes .axhline )
2634
- def axhline (
2635
- y : float = 0 , xmin : float = 0 , xmax : float = 1 , ** kwargs
2636
- ) -> Line2D :
2623
+ def axhline (y : float = 0 , xmin : float = 0 , xmax : float = 1 , ** kwargs ) -> Line2D :
2637
2624
return gca ().axhline (y = y , xmin = xmin , xmax = xmax , ** kwargs )
2638
2625
2639
2626
@@ -2671,9 +2658,7 @@ def axline(
2671
2658
2672
2659
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2673
2660
@_copy_docstring_and_deprecators (Axes .axvline )
2674
- def axvline (
2675
- x : float = 0 , ymin : float = 0 , ymax : float = 1 , ** kwargs
2676
- ) -> Line2D :
2661
+ def axvline (x : float = 0 , ymin : float = 0 , ymax : float = 1 , ** kwargs ) -> Line2D :
2677
2662
return gca ().axvline (x = x , ymin = ymin , ymax = ymax , ** kwargs )
2678
2663
2679
2664
@@ -2711,9 +2696,7 @@ def bar(
2711
2696
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2712
2697
@_copy_docstring_and_deprecators (Axes .barbs )
2713
2698
def barbs (* args , data = None , ** kwargs ) -> Barbs :
2714
- return gca ().barbs (
2715
- * args , ** ({"data" : data } if data is not None else {}), ** kwargs
2716
- )
2699
+ return gca ().barbs (* args , ** ({"data" : data } if data is not None else {}), ** kwargs )
2717
2700
2718
2701
2719
2702
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2835,18 +2818,13 @@ def broken_barh(
2835
2818
** kwargs ,
2836
2819
) -> BrokenBarHCollection :
2837
2820
return gca ().broken_barh (
2838
- xranges ,
2839
- yrange ,
2840
- ** ({"data" :
67E6
data } if data is not None else {}),
2841
- ** kwargs ,
2821
+ xranges , yrange , ** ({"data" : data } if data is not None else {}), ** kwargs
2842
2822
)
2843
2823
2844
2824
2845
2825
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2846
2826
@_copy_docstring_and_deprecators (Axes .clabel )
2847
- def clabel (
2848
- CS : ContourSet , levels : ArrayLike | None = None , ** kwargs
2849
- ) -> list [Text ]:
2827
+ def clabel (CS : ContourSet , levels : ArrayLike | None = None , ** kwargs ) -> list [Text ]:
2850
2828
return gca ().clabel (CS , levels = levels , ** kwargs )
2851
2829
2852
2830
@@ -3022,9 +3000,7 @@ def eventplot(
3022
3000
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3023
3001
@_copy_docstring_and_deprecators (Axes .fill )
3024
3002
def fill (* args , data : Any | None = None , ** kwargs ) -> list [Polygon ]:
3025
- return gca ().fill (
3026
- * args , ** ({"data" : data } if data is not None else {}), ** kwargs
3027
- )
3003
+ return gca ().fill (* args , ** ({"data" : data } if data is not None else {}), ** kwargs )
3028
3004
3029
3005
3030
3006
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -3214,11 +3190,7 @@ def stairs(
3214
3190
def hist2d (
3215
3191
x : ArrayLike ,
3216
3192
y : ArrayLike ,
3217
- bins : None
3218
- | int
3219
- | tuple [int , int ]
3220
- | ArrayLike
3221
- | tuple [ArrayLike , ArrayLike ] = 10 ,
3193
+ bins : None | int | tuple [int , int ] | ArrayLike | tuple [ArrayLike , ArrayLike ] = 10 ,
3222
3194
range : ArrayLike | None = None ,
3223
3195
density : bool = False ,
3224
3196
weights : ArrayLike | None = None ,
@@ -3323,9 +3295,7 @@ def legend(*args, **kwargs) -> Legend:
3323
3295
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3324
3296
@_copy_docstring_and_deprecators (Axes .locator_params )
3325
3297
def locator_params (
3326
- axis : Literal ["both" , "x" , "y" ] = "both" ,
3327
- tight : bool | None = None ,
3328
- ** kwargs ,
3298
+ axis : Literal ["both" , "x" , "y" ] = "both" , tight : bool | None = None , ** kwargs
3329
3299
) -> None :
3330
3300
return gca ().locator_params (axis = axis , tight = tight , ** kwargs )
3331
3301
@@ -3629,10 +3599,7 @@ def scatter(
3629
3599
alpha : float | None = None ,
3630
3600
linewidths : float | Sequence [float ] | None = None ,
3631
3601
* ,
3632
- edgecolors : Literal ["face" , "none" ]
3633
- | Color
3634
- | Sequence [Color ]
3635
- | None = None ,
3602
+ edgecolors : Literal ["face" , "none" ] | Color | Sequence [Color ] | None = None ,
3636
3603
plotnonfinite : bool = False ,
3637
3604
data = None ,
3638
3605
** kwargs ,
@@ -3687,8 +3654,7 @@ def specgram(
3687
3654
pad_to : int | None = None ,
3688
3655
sides : Literal ["default" , "onesided" , "twosided" ] | None = None ,
3689
3656
scale_by_freq : bool | None = None ,
3690
- mode : Literal ["default" , "psd" , "magnitude" , "angle" , "phase" ]
3691
- | None = None ,
3657
+ mode : Literal ["default" , "psd" , "magnitude" , "angle" , "phase" ] | None = None ,
3692
3658
scale : Literal ["default" , "linear" , "dB" ] | None = None ,
3693
3659
vmin : float | None = None ,
3694
3660
vmax : float | None = None ,
@@ -3747,9 +3713,7 @@ def spy(
3747
3713
3748
3714
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3749
3715
@_copy_docstring_and_deprecators (Axes .stackplot )
3750
- def stackplot (
3751
- x , * args , labels = (), colors = None , baseline = "zero" , data = None , ** kwargs
3752
- ):
3716
+ def stackplot (x , * args , labels = (), colors = None , baseline = "zero" , data = None , ** kwargs ):
3753
3717
return gca ().stackplot (
3754
3718
x ,
3755
3719
* args ,
@@ -3895,11 +3859,7 @@ def table(
3895
3859
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3896
3860
@_copy_docstring_and_deprecators (Axes .text )
3897
3861
def text (
3898
- x : float ,
3899
- y : float ,
3900
- s : str ,
3901
- fontdict : dict [str , Any ] | None = None ,
3902
- ** kwargs ,
3862
+ x : float , y : float , s : str , fontdict : dict [str , Any ] | None = None , ** kwargs
3903
3863
) -> Text :
3904
3864
return gca ().text (x , y , s , fontdict = fontdict , ** kwargs )
3905
3865
@@ -4084,9 +4044,7 @@ def title(
4084
4044
y : float | None = None ,
4085
4045
** kwargs ,
4086
4046
) -> Text :
4087
- return gca ().set_title (
4088
- label , fontdict = fontdict , loc = loc , pad = pad , y = y , ** kwargs
4089
- )
4047
+ return gca ().set_title (label , fontdict = fontdict , loc = loc , pad = pad , y = y , ** kwargs )
4090
4048
4091
4049
4092
4050
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
0 commit comments