Skip to content

docs: typos in code block #797

@juleswg23

Description

@juleswg23

There is an unintended 4th quote closing the docstring, and no colon on the following line.

def fmt_threshold(gt, columns, threshold: float):
"""Format values to 0 if they are under threshold.""""
def _truncate(val: float)
return "0" if val < threshold else str(val)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions