plotly.py
plotly.py copied to clipboard
Strange "/" sign in the center of the plot.
Hey,
I am using px.bar and there is a strange / sign in the center of the plot. I am not able to understand the reason. Does anyone have any idea? You can use the code below to replicate the problem. An example plot with issue:

data = {'Algorithms': ['Dummy', 'GP', 'LDA', 'BC', 'RF', 'ETC', 'SVM', 'LR'],
'Score': [1.1540849062155327,
2.466269820237044,
2.5044540789250416,
2.649547538188682,
2.6711507147964975,
2.6765680251385184,
2.703692495675523,
2.713790240187339]}
df = pd.DataFrame (data, columns = ['Algorithms','Score'])
import plotly.express as px
from plotly.offline import plot
fig = px.bar(df, x='Score', y='Algorithms',color='Score',labels={' Score'},
width=700,height=1000,text_auto=False)
fig.add_annotation(font=dict(
family="Courier New, monospace",
size=16,
color="#ffffff"))
fig.update_xaxes(title_text="Score")
plot(fig)