-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Hello Plotly,
I experience the following problem,
when trying to generate a figure of type 'line' with multiple traces using the plotly.express
(the traces are defined implicitly, by defining a list of list in the y argument)
the resulting figure indeed includes 2 traces as expected,
it DOES name correctly the x axis but DOESN'T name correctly the y axis label, which is set to 'value' for some reason.
See attached an example code and a resulting graph (saved as screenshot)
MOREOVER, you can see the same phenomenon in the plotly tutorial
https://www.youtube.com/watch?v=GGL6U0k8WYA&t=622s
at minutes 08:50-09:00 of the video. Notice the y-axis label in the video.
Thank you
--------------------Example code--------------
import plotly.express as px
pxFig = px.line(x=[0,1,2,3],y=[[10,11,12,13],[12,13,14,15]], labels=dict(x='xLabel', y='yLabel'), title='my Title')
pxFig.show()