I have some problems with the x-axis values of a seaborn line-plot:

```
import pandas as pd
import seaborn as sns

# data
df = pd.DataFrame(columns=['calendar_week', 'product_name', 'value'],
                  data=[['201850', 'product01', 1], ['201905', 'product01', 10], ['201910', 'product01', 7],
                       ['201840', 'product02', 4], ['201911', 'product02', 9], ['201917', 'product02', 17], ['201918', 'product02', 12]])

# plot
sns.lineplot(data=df, x='calendar_week', y='value', hue='product_name');

```

If the calendar\_week values are strings, it plots the second graph after the first one. If the calendar\_week values are integers, it fills the data from 201852 to 201899 automatically. What's the best way to plot both graphs on one sorted x-axis with only the given calendar\_week values?

Here is the plot with calendar\_week as string:
[![plot with x-axis values as string](https://i.stack.imgur.com/4iRKX.png)](https://i.stack.imgur.com/4iRKX.png)

Here is the plot with calendar\_week as int:
[![plot with x-axis values as int](https://i.stack.imgur.com/kaWAA.png)](https://i.stack.imgur.com/kaWAA.png)

Thanks for help.