@@ -771,7 +771,16 @@ def format(
771
771
# A-b-c labels
772
772
titles_dict = self ._titles_dict
773
773
if not self ._panel_side :
774
- # Location and text
774
+ # Properties
775
+ kw = rc .fill ({
776
+ 'fontsize' : 'abc.size' ,
777
+ 'weight' : 'abc.weight' ,
778
+ 'color' : 'abc.color' ,
779
+ 'border' : 'abc.border' ,
780
+ 'borderwidth' : 'abc.borderwidth' ,
781
+ 'fontfamily' : 'font.family' ,
782
+ }, context = True )
783
+ # Label format
775
784
abcstyle = rc .get ('abc.style' , context = True ) # 1st run, or changed
776
785
if abcstyle and self .number is not None :
777
786
if not isinstance (abcstyle , str ) or (
@@ -808,17 +817,14 @@ def format(
808
817
# Tricky because we have to reconcile two workflows:
809
818
# 1. title='name' and titleloc='position'
810
819
# 2. ltitle='name', rtitle='name', etc., arbitrarily many titles
811
- # First update existing titles
812
- # NOTE: _update_title should never return new objects unless called
813
- # with *inner* titles... *outer* titles will just refresh, so we
814
- # don't need to re-assign the attributes or anything.
815
- loc , obj , kw = self ._get_title_props ()
816
- if kw :
817
- for iloc , iobj in titles_dict .items ():
818
- if iloc is self ._abc_loc :
819
- continue
820
- titles_dict [iloc ] = self ._update_title (iobj , ** kw )
821
-
820
+ kw = rc .fill ({
821
+ 'fontsize' : 'title.size' ,
822
+ 'weight' : 'title.weight' ,
823
+ 'color' : 'title.color' ,
824
+ 'border' : 'title.border' ,
825
+ 'borderwidth' : 'title.borderwidth' ,
826
+ 'fontfamily' : 'font.family' ,
827
+ }, context = True )
822
828
# Workflow 2, want this to come first so workflow 1 gets priority
823
829
for iloc , ititle in zip (
824
830
('l' , 'r' , 'c' , 'ul' , 'uc' , 'ur' , 'll' , 'lc' , 'lr' ),
0 commit comments