File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -2021,7 +2021,11 @@ def set_props(self, **props):
2021
2021
Set the properties of the selector artist. See the `props` argument
2022
2022
in the selector docstring to know which properties are supported.
2023
2023
"""
2024
- self ._selection_artist .set (** props )
2024
+ artist = self ._selection_artist
2025
+ alias_map = getattr (artist , '_alias_map' , None )
2026
+ if alias_map :
2027
+ props = cbook .normalize_kwargs (props , alias_map )
2028
+ artist .set (** props )
2025
2029
if self .useblit :
2026
2030
self .update ()
2027
2031
self ._props .update (props )
@@ -2034,6 +2038,11 @@ def set_handle_props(self, **handle_props):
2034
2038
"""
2035
2039
if not hasattr (self , '_handles_artists' ):
2036
2040
raise NotImplementedError ("This selector doesn't have handles." )
2041
+
2042
+ artist = self ._handles_artists [0 ]
2043
+ alias_map = getattr (artist , '_alias_map' , None )
2044
+ if alias_map :
2045
+ handle_props = cbook .normalize_kwargs (handle_props , alias_map )
2037
2046
for handle in self ._handles_artists :
2038
2047
handle .set (** handle_props )
2039
2048
if self .useblit :
You can’t perform that action at this time.
0 commit comments