0

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.

asked Apr 7, 2024 at 15:43

1 Answer 1

0

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)
answered Apr 8, 2024 at 10:08
Sign up to request clarification or add additional context in comments.

1 Comment

the EditableGraph area is still embedded in a square and do not cover all the window witdh.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.