Skip to content

Instantly share code, notes, and snippets.

@MacaylaMarvelous81
Created December 14, 2024 18:23
Show Gist options
  • Save MacaylaMarvelous81/e1003a412f563e2e41043f05d73f1aa2 to your computer and use it in GitHub Desktop.
Save MacaylaMarvelous81/e1003a412f563e2e41043f05d73f1aa2 to your computer and use it in GitHub Desktop.
_x = sp.symbols('x')
# show = False because otherwise the graph goes into stdout
_plot = plot(6*_x**3 + 11*_x**2 - 3*_x - 2, show = False)
# process_series process the matplotlib plot, which isn't done automatically because show = False
_plot.process_series()
_plot.ax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment