1
votes

is it possible to remove vertical axis, but only the line, kepping the labels?enter image description here

2

2 Answers

0
votes

Yes. Set the width of the axis line to zero:

value_axis = chart.value_axis
value_axis.format.line.width = 0
0
votes

This doesn't remove the line, but makes it white, so you don't see it anymore:

from pptx.dml.color import RGBColor
category_axis.format.line.color.rgb = RGBColor(255, 255, 255)