plotnine.scales.xlim

class plotnine.scales.xlim(*limits)[source]

Set x-axis limits

Parameters
limitsarray_like

Min and max limits. Must be of size 2. You can also pass two values e.g xlim(40, 100)