Skip to content

Instantly share code, notes, and snippets.

@miham
Created February 18, 2012 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miham/1860594 to your computer and use it in GitHub Desktop.
Save miham/1860594 to your computer and use it in GitHub Desktop.
xlim problems
from sympy import *

x = Symbol('x')

p = plot(x, show=False)
p.xlim = (-20,20)
p.show()
@miham
Copy link
Author

miham commented Feb 18, 2012

The extra space for the axis is reserved, but the axis stays in the default interval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment