Reputation: 35
In NetGraph
's EditableGraph
, the drawing figure appears to be enclosed in a square. How can we extend the drawing limit of the figure along the horizontal-axis? Thank you.
Upvotes: 0
Views: 13
Reputation: 13021
As with every matplotlib figure, you can change the axis limits in various ways:
import matplotlib.pyplot as plt
from netgraph import EditableGraph
fig, ax = plt.subplots()
g = EditableGraph(..., ax=ax)
ax.set_xlim(-2, 3)
Upvotes: 0