@@ -140,7 +140,7 @@ def pt_xml(self, values):
140140 in the overall data point sequence of the chart and is started at
141141 *offset*.
142142 """
143- xml = ( f' <c:ptCount val="{ len (values )} "/>\n ' )
143+ xml = f' <c:ptCount val="{ len (values )} "/>\n '
144144
145145 pt_tmpl = (
146146 ' <c:pt idx="{idx}">\n '
@@ -861,9 +861,7 @@ def _marker_xml(self):
861861 no_marker_types = (XL .LINE , XL .LINE_STACKED , XL .LINE_STACKED_100 )
862862 if self ._chart_type in no_marker_types :
863863 return (
864- " <c:marker>\n "
865- ' <c:symbol val="none"/>\n '
866- " </c:marker>\n "
864+ ' <c:marker>\n <c:symbol val="none"/>\n </c:marker>\n '
867865 )
868866 return ""
869867
@@ -1053,9 +1051,7 @@ def xml(self):
10531051 def _marker_xml (self ):
10541052 if self ._chart_type == XL_CHART_TYPE .RADAR :
10551053 return (
1056- " <c:marker>\n "
1057- ' <c:symbol val="none"/>\n '
1058- " </c:marker>\n "
1054+ ' <c:marker>\n <c:symbol val="none"/>\n </c:marker>\n '
10591055 )
10601056 return ""
10611057
@@ -1178,9 +1174,7 @@ def _marker_xml(self):
11781174 )
11791175 if self ._chart_type in no_marker_types :
11801176 return (
1181- " <c:marker>\n "
1182- ' <c:symbol val="none"/>\n '
1183- " </c:marker>\n "
1177+ ' <c:marker>\n <c:symbol val="none"/>\n </c:marker>\n '
11841178 )
11851179 return ""
11861180
@@ -1552,7 +1546,7 @@ def lvl_pt_xml(level):
15521546
15531547 xml = ""
15541548 for level in categories .levels :
1555- xml += (" <c:lvl>\n " " {lvl_pt_xml}" " </c:lvl>\n " ).format (
1549+ xml += (" <c:lvl>\n {lvl_pt_xml} </c:lvl>\n " ).format (
15561550 ** {"lvl_pt_xml" : lvl_pt_xml (level )}
15571551 )
15581552 return xml
@@ -1712,15 +1706,15 @@ def _xVal_tmpl(self):
17121706 The template for the ``<c:xVal>`` element for this series, containing
17131707 the X values and their spreadsheet range reference.
17141708 """
1715- return " <c:xVal{nsdecls}>\n " " {numRef_xml}" " </c:xVal>\n "
1709+ return " <c:xVal{nsdecls}>\n {numRef_xml} </c:xVal>\n "
17161710
17171711 @property
17181712 def _yVal_tmpl (self ):
17191713 """
17201714 The template for the ``<c:yVal>`` element for this series, containing
17211715 the Y values and their spreadsheet range reference.
17221716 """
1723- return " <c:yVal{nsdecls}>\n " " {numRef_xml}" " </c:yVal>\n "
1717+ return " <c:yVal{nsdecls}>\n {numRef_xml} </c:yVal>\n "
17241718
17251719
17261720class _BubbleSeriesXmlWriter (_XySeriesXmlWriter ):
@@ -1772,7 +1766,7 @@ def _bubbleSize_tmpl(self):
17721766 containing the bubble size values and their spreadsheet range
17731767 reference.
17741768 """
1775- return " <c:bubbleSize{nsdecls}>\n " " {numRef_xml}" " </c:bubbleSize>\n "
1769+ return " <c:bubbleSize{nsdecls}>\n {numRef_xml} </c:bubbleSize>\n "
17761770
17771771
17781772class _BubbleSeriesXmlRewriter (_BaseSeriesXmlRewriter ):
0 commit comments