Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

seaborn axis limits

# Basic syntax:
plt.set(ylim=(lower_bound, upper_bound)) # E.g.:
plt.set(ylim=(0, 100))

# Note, change ylim to xlim to control the range on the x-axis
# Note, use None on either bound to avoid having to specify it, e.g.:
plt.set(ylim=(0, None))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #seaborn #axis #limits
ADD COMMENT
Topic
Name
2+6 =