Rextag

class subsurface.writer.to_rex.rex_api.Rextag(project_reference)[source]

Bases: object

Methods Summary

create_rextag(project_reference)

display_tag([reverse])

displays the rextag to the terminal standard output as ascii.

save_svg(filename)

Methods Documentation

create_rextag(project_reference)[source]
display_tag(reverse=True)[source]

displays the rextag to the terminal standard output as ascii.

you can invert the color by setting inverse=True, this is necessary if you run it in a jupyter notebook after creation, you can save the rextag as svg using the rextag.svg method: self.rextag.svg(“project_name”, scale=8)

Parameters

reverse – (boolean) inverts background and foreground color in the terminal output

Returns: None, prints a QR code to terminal output

save_svg(filename)[source]