8.1.2.27 Column::SetComments

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.


Description

Set the comments in a column label.

Syntax

SetComments(comments)

Parameters

comments
String for the comments to be set

Return

none

Examples

import PyOrigin
PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).SetComments('intensity')
print('Show the comment in column 1')
PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).GetComments()

See Also

GetComments