import seaborn as sns
sns.set(style="darkgrid")

tips = sns.load_dataset("tips")
color = sns.color_palette()[2]
g = sns.jointplot("total_bill", "tip", data=tips, kind="reg",
                  color=color, size=7)
g.ax_joint.set(xlim=(0, 70), ylim=(0, 12))

import seaborn as sns
sns.set(style="darkgrid")

tips = sns.load_dataset("tips")
color = sns.color_palette()[2]
g = sns.jointplot("total_bill", "tip", data=tips, kind="reg",
                  xlim=(0, 60), ylim=(0, 12), color=color, size=7)

Set jointplot example axis limits in main call
Set jointplot example axis limits in main call

  import seaborn as sns
  sns.set(style="darkgrid")
  
  tips = sns.load_dataset("tips")
  color = sns.color_palette()[2]
  g = sns.jointplot("total_bill", "tip", data=tips, kind="reg",
+                   xlim=(0, 60), ylim=(0, 12), color=color, size=7)
-                   color=color, size=7)
- g.ax_joint.set(xlim=(0, 70), ylim=(0, 12))
  
Set jointplot example axis limits in main call
## Code Before:
import seaborn as sns
sns.set(style="darkgrid")

tips = sns.load_dataset("tips")
color = sns.color_palette()[2]
g = sns.jointplot("total_bill", "tip", data=tips, kind="reg",
                  color=color, size=7)
g.ax_joint.set(xlim=(0, 70), ylim=(0, 12))

## Instruction:
Set jointplot example axis limits in main call
## Code After:
import seaborn as sns
sns.set(style="darkgrid")

tips = sns.load_dataset("tips")
color = sns.color_palette()[2]
g = sns.jointplot("total_bill", "tip", data=tips, kind="reg",
                  xlim=(0, 60), ylim=(0, 12), color=color, size=7)
