# BAR chart with very thin bars (again)

**URL:** <https://community.plotly.com/t/bar-chart-with-very-thin-bars-again/88706>\
**Category:** 📊 Plotly Python\
**Created:** [November 14, 2024, 4:02pm UTC](https://community.plotly.com/t/bar-chart-with-very-thin-bars-again/88706 "2024-11-14T16:02:31Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)\
**Post date:** [November 15, 2024, 12:48pm UTC](https://community.plotly.com/t/bar-chart-with-very-thin-bars-again/88706/6 "2024-11-15T12:48:21Z")

</div>

Sure: [Search results for '@aimped tick' - Plotly Community Forum](https://community.plotly.com/search?q=%40aimped%20tick)

For example:

> [@Cant get correct Heatmap xaxis range](https://community.plotly.com/t/cant-get-correct-heatmap-xaxis-range/79015/2):
>
> Hey @alp, welcome to the forums. Not sure if I understand what you are after, but are your referring to something like this? import plotly.graph\_objects as go from plotly.subplots import make\_subplots import numpy as np data = np.random.randint(0, 255, size=(31, 31)) fig = go.Figure( go.Heatmap(z=data) ) fig.update\_xaxes(range=[1, 31], tickmode='array', tickvals=[i for i in range(1, 32) if i\>17]) fig.show() mrep tickmode

> [@Use YYYY-MM as X-axis](https://community.plotly.com/t/use-yyyy-mm-as-x-axis/70493):
>
> How can i adjust the x-axis ? My code import plotly.offline as pyo import plotly.graph\_objs as go import pandas as pd import datetime as dt data = {‘date’:[‘2022-01’, ‘2022-02’, ‘2022-03’, ‘2022-04’], ‘val1’:[20, 21, 19, 18], ‘val2’:[2, 51, 16, 18]} df = pd.DataFrame(data) trace1 = go.Bar( x=df[‘date’], # NOC stands for National Olympic Committee y=df[‘val1’], ) trace2 = go.Bar( x=df[‘date’], y=df[‘val2’], ) data = [trace1, trace2] layout = go.Layout( title=‘some title’, bar…

---

_[View the full topic](https://community.plotly.com/t/bar-chart-with-very-thin-bars-again/88706)._
