code: def _set_axis_properties(self, axis):
          
          if not getattr(axis, 'properties'):
              axis.properties = AxisProperties()
              for prop in ['ticks', 'axis', 'major_ticks', 'minor_ticks',
                           'title', 'labels']:
                  setattr(axis.properties, prop, PropertySet())
docs: Set AxisProperties and PropertySets