Skip to content

Commit

Permalink
Docstring fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StokesMIDE committed Apr 11, 2024
1 parent 9c2d9fe commit 13c6b69
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions idelib/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,13 +484,12 @@ def getPlots(self, subchannels=True, plots=True, debug=True, sort=True,
:keyword sort: Sort the plots by name if `True`.
:keyword visibility: The plots' maximum level of visibility,
for display purposes. Standard visibility ranges:
0: Standard data sources. Always visible by default.
10: Optionally visible, of interest but only in certain situations.
20: Hidden by default, but possibly of use to the user.
30: Hidden by default, channel used indirectly (but human readable).
40: Hidden by default, channel used indirectly (not very human readable).
50: Diagnostic, always hide. Accessible via the idelib API.
* 0: Standard data sources. Always visible by default.
* 10: Optionally visible, of interest but only in certain situations.
* 20: Hidden by default, but possibly of use to the user.
* 30: Hidden by default, channel used indirectly (but human readable).
* 40: Hidden by default, channel used indirectly (not very human readable).
* 50: Diagnostic, always hide. Accessible via the idelib API.
"""
def test(x):
return debug or (x.visibility <= visibility
Expand Down Expand Up @@ -995,12 +994,12 @@ def __init__(self, parent, subchannelId, name=None, units=('', ''),
:keyword visibility: The subchannel's level of visibility, for
display purposes. The lower the value, the more 'visible' the
subchannel. Standard visibility ranges:
0: Standard data sources. Always visible by default.
10: Optionally visible, of interest but only in certain situations.
20: Hidden by default, but possibly of use to the user.
30: Hidden by default, channel used indirectly (but human readable).
40: Hidden by default, channel used indirectly (not very human readable).
50: Diagnostic, always hide. Accessible via the idelib API.
* 0: Standard data sources. Always visible by default.
* 10: Optionally visible, of interest but only in certain situations.
* 20: Hidden by default, but possibly of use to the user.
* 30: Hidden by default, channel used indirectly (but human readable).
* 40: Hidden by default, channel used indirectly (not very human readable).
* 50: Diagnostic, always hide. Accessible via the idelib API.
"""
self.id = subchannelId
self.parent = parent
Expand Down

0 comments on commit 13c6b69

Please sign in to comment.