# Im a new user to plotly ,range selector buttons dont show up, please help me

**URL:** <https://community.plotly.com/t/im-a-new-user-to-plotly-range-selector-buttons-dont-show-up-please-help-me/64305>\
**Category:** 📊 Plotly Python\
**Created:** [May 20, 2022, 5:08am UTC](https://community.plotly.com/t/im-a-new-user-to-plotly-range-selector-buttons-dont-show-up-please-help-me/64305 "2022-05-20T05:08:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anirudh](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@anirudh](https://community.plotly.com/u/anirudh)\
**Post date:** [May 20, 2022, 5:08am UTC](https://community.plotly.com/t/im-a-new-user-to-plotly-range-selector-buttons-dont-show-up-please-help-me/64305/1 "2022-05-20T05:08:02Z")

</div>

```python
import seaborn as sns
import pandas as pd
url = "https://docs.google.com/spreadsheets/d/e/2PACX-1vSTN7WS3vxKc4ty4YKABKazHpwR48ETsCvyL1a94TE1md5kqcLCW9eMlyqnTAK-fYYkqX15KVUwCqAJ/pub?output=csv"

df = pd.read_csv(url)
import plotly.express as px
import plotly.graph_objects as go
from datetime import datetime
import calendar

fig = px.box(df, y="# of customers", x="Week 1", points="all", notched=True)
fig.update_traces(quartilemethod="linear", boxpoints= "outliers")
fig.update_layout(
    xaxis=dict(
        rangeselector=dict(
            buttons=list([
                dict(count=1,
                     label="1d",
                     step="day",
                     stepmode="backward"),
                dict(count=7,
                     label="1 week",
                     step="day",
                     stepmode="backward"),
                dict(count=7,
                     label="2 week",
                     step="day",
                     stepmode="backward"),
            ])
        ),
        rangeslider=dict(
            visible=True
        ),
    )
)

```

 ![Screen Shot 2022-05-20 at 1.06.52 AM](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/e/7/e73308953b75dce65167e16ac8833d9c9d33fe5f.png)

---

<div class="post-metadata">

**Author:** ![jlfsjunior](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jlfsjunior/32/16061_2.png) [@jlfsjunior](https://community.plotly.com/u/jlfsjunior)\
**Post date:** [May 22, 2022, 8:43am UTC](https://community.plotly.com/t/im-a-new-user-to-plotly-range-selector-buttons-dont-show-up-please-help-me/64305/2 "2022-05-22T08:43:21Z")

</div>

Hi,

Welcome to the community! 🙂

I think the reason why this is happening is because you don’t have timestamps in the xaxis, just a categorical variable.

---

<div class="post-metadata">

**Author:** ![anirudh](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@anirudh](https://community.plotly.com/u/anirudh)\
**Post date:** [May 23, 2022, 6:42pm UTC](https://community.plotly.com/t/im-a-new-user-to-plotly-range-selector-buttons-dont-show-up-please-help-me/64305/3 "2022-05-23T18:42:10Z")

</div>

Thank you so much, I appreciate it.
