File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 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):
20212021 Set the properties of the selector artist. See the `props` argument
20222022 in the selector docstring to know which properties are supported.
20232023 """
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 )
20252029 if self .useblit :
20262030 self .update ()
20272031 self ._props .update (props )
@@ -2034,6 +2038,11 @@ def set_handle_props(self, **handle_props):
20342038 """
20352039 if not hasattr (self , '_handles_artists' ):
20362040 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 )
20372046 for handle in self ._handles_artists :
20382047 handle .set (** handle_props )
20392048 if self .useblit :
You can’t perform that action at this time.
0 commit comments