title: Plotly Express: How to exclude specific dates from the X-axis after building a figure?
body: <p>I have a simple dataframe containing dates and a few headers. I need to remove specific dates from the plot.</p>
  <pre><code>fig1 = px.line(df, x=Date, y=&quot;Header1&quot;)
  fig1.show()
  </code></pre>
  <p>I want to remove values from the chart itself (not from dataframe), like (removing 15/01/2022 &amp; 22/02/2022).</p>
  <p>date vs value plot
  <a href="https://i.stack.imgur.com/adlNV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/adlNV.png" alt="enter image description here" /></a></p>