GaussDiagram

A Gauss diagram for the knot 10_93

Class for creating and viewing Gauss diagrams.

API documentation

class pyknotid.representations.gaussdiagram.GaussDiagram(representation)[source]

Bases: object

Class for containing and manipulating Gauss diagrams.

Parameters:representation (Another representation of a knot.) –
plot(fig_ax=None)[source]

Plots the Gauss diagram using matplotlib. This is called automatically on __init__.

Returns a tuple of the matplotlib figure and axis.