I resolved it by removing X because it's an index.


Try changing the plot type on Plotly to line:

import plotly.express as px

fig = px.line(df, x="Date", y="Close", title='COMERCIAL INTERNATIONAL BANK')
fig.show()

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.