@@ -307,8 +307,7 @@ def set_transform(self, t):
307
307
Parameters
308
308
----------
309
309
t : `~.Transform`
310
- ..
311
- ACCEPTS: `~.Transform`
310
+ .. ACCEPTS: `~.Transform`
312
311
"""
313
312
self ._transform = t
314
313
self ._transformSet = True
@@ -380,8 +379,7 @@ def set_contains(self, picker):
380
379
Parameters
381
380
----------
382
381
picker : callable
383
- ..
384
- ACCEPTS: a callable function
382
+ .. ACCEPTS: a callable function
385
383
"""
386
384
self ._contains = picker
387
385
@@ -461,8 +459,7 @@ def set_picker(self, picker):
461
459
Parameters
462
460
----------
10000
463
461
picker : None or bool or float or callable
464
- ..
465
- ACCEPTS: [None | bool | float | callable]
462
+ .. ACCEPTS: [None | bool | float | callable]
466
463
"""
467
464
self ._picker = picker
468
465
@@ -486,8 +483,7 @@ def set_url(self, url):
486
483
Parameters
487
484
----------
488
485
url : str
489
- ..
490
- ACCEPTS: a url string
486
+ .. ACCEPTS: a url string
491
487
"""
492
488
self ._url = url
493
489
@@ -502,8 +498,7 @@ def set_gid(self, gid):
502
498
Parameters
503
499
----------
504
500
gid : str
505
- ..
506
- ACCEPTS: an id string
501
+ .. ACCEPTS: an id string
507
502
"""
508
503
self ._gid = gid
509
504
@@ -541,8 +536,7 @@ def set_snap(self, snap):
541
536
Parameters
542
537
----------
543
538
snap : bool or None
544
- ..
545
- ACCEPTS: bool or None
539
+ .. ACCEPTS: bool or None
546
540
"""
547
541
self ._snap = snap
548
542
self .stale = True
@@ -589,8 +583,7 @@ def set_sketch_params(self, scale=None, length=None, randomness=None):
589
583
The scale factor by which the length is shrunken or
590
584
expanded (default 16.0)
591
585
592
- ..
593
- ACCEPTS: (scale: float, length: float, randomness: float)
586
+ .. ACCEPTS: (scale: float, length: float, randomness: float)
594
587
"""
595
588
if scale is None :
596
589
self ._sketch = None
@@ -604,8 +597,7 @@ def set_path_effects(self, path_effects):
604
597
Parameters
605
598
----------
606
599
path_effects : `~.AbstractPathEffect`
607
- ..
608
- ACCEPTS: `~.AbstractPathEffect`
600
+ .. ACCEPTS: `~.AbstractPathEffect`
609
601
"""
610
602
self ._path_effects = path_effects
611
603
self .stale = True
@@ -624,8 +616,7 @@ def set_figure(self, fig):
624
616
Parameters
625
617
----------
626
618
fig : `~.Figure`
627
- ..
628
- ACCEPTS: a `~.Figure` instance
619
+ .. ACCEPTS: a `~.Figure` instance
629
620
"""
630
621
# if this is a no-op just return
631
622
if self .figure is fig :
@@ -650,8 +641,7 @@ def set_clip_box(self, clipbox):
650
641
Parameters
651
642
----------
652
643
clipbox : `~.Bbox`
653
- ..
654
- ACCEPTS: a `~.Bbox` instance
644
+ .. ACCEPTS: a `~.Bbox` instance
655
645
"""
656
646
self .clipbox = clipbox
657
647
self .pchanged ()
@@ -758,8 +748,7 @@ def set_clip_on(self, b):
758
748
Parameters
759
749
----------
760
750
b : bool
761
- ..
762
- ACCEPTS: bool
751
+ .. ACCEPTS: bool
763
752
"""
764
753
self ._clipon = b
765
754
# This may result in the callbacks being hit twice, but ensures they
@@ -790,8 +779,7 @@ def set_rasterized(self, rasterized):
790
779
Parameters
791
780
----------
792
781
rasterized : bool or None
793
- ..
794
- ACCEPTS: bool or None
782
+ .. ACCEPTS: bool or None
795
783
"""
796
784
if rasterized and not hasattr (self .draw , "_supports_rasterization" ):
797
785
warnings .warn ("Rasterization of '%s' will be ignored" % self )
@@ -811,8 +799,7 @@ def set_agg_filter(self, filter_func):
811
799
A filter function, which takes a (m, n, 3) float array and a dpi
812
800
value, and returns a (m, n, 3) array.
813
801
814
- ..
815
- ACCEPTS: a filter function, which takes a (m, n, 3) float array
802
+ .. ACCEPTS: a filter function, which takes a (m, n, 3) float array
816
803
and a dpi value, and returns a (m, n, 3) array
817
804
"""
818
805
self ._agg_filter = filter_func
@@ -832,8 +819,7 @@ def set_alpha(self, alpha):
832
819
Parameters
833
820
----------
834
821
alpha : float
835
- ..
836
- ACCEPTS: float (0.0 transparent through 1.0 opaque)
822
+ .. ACCEPTS: float (0.0 transparent through 1.0 opaque)
837
823
"""
838
824
self ._alpha = alpha
839
825
self .pchanged ()
@@ -846,8 +832,7 @@ def set_visible(self, b):
846
832
Parameters
847
833
----------
848
834
b : bool
849
- ..
850
- ACCEPTS: bool
835
+ .. ACCEPTS: bool
851
836
"""
852
837
self ._visible = b
853
838
self .pchanged ()
@@ -860,8 +845,7 @@ def set_animated(self, b):
860
845
Parameters
861
846
----------
862
847
b : bool
863
- ..
864
- ACCEPTS: bool
848
+ .. ACCEPTS: bool
865
849
"""
866
850
if self ._animated != b :
867
851
self ._animated = b
@@ -924,8 +908,7 @@ def set_label(self, s):
924
908
*s* will be converted to a string by calling `str` (`unicode` on
925
909
Py2).
926
910
927
- ..
928
- ACCEPTS: object
911
+ .. ACCEPTS: object
929
912
"""
930
913
if s is not None :
931
914
self ._label = six .text_type (s )
@@ -946,8 +929,7 @@ def set_zorder(self, level):
946
929
Parameters
947
930
----------
948
931
level : float
949
- ..
950
- ACCEPTS: float
932
+ .. ACCEPTS: float
951
933
"""
952
934
if level is None :
953
935
level = self .__class__ .zorder
0 commit comments