When I run the code below I receive a duplication within the X axis
ax = df.plot.line(x="Brand", y="Range", legend=False)
ax2 = ax.twinx()
df.plot.line(x="Brand", y="Seats", ax=ax2, legend=False, color="#d86e39")
plt.xticks(rotation='vertical')
ax.figure.legend()
plt.show()
The libraries I am using are:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from plotly.offline import iplot
import plotly as py
import plotly.tools as tls
%matplotlib inline