Plotly Animation Chart : How to change axes names in line chart?

Viewed 28

I want to change the axes names in plotly animation line chart. I first create a plot

df_noise_funct_mode2['SPEC_MAX'] = 6.9
NOISE_ANI_FUN = px.line(df_noise_funct_mode2, x = "Temp(deg)", y=["Noise[uVrms]",'SPEC_MAX'],
              color = "Device_ID",animation_frame="Supply[V],",title="NOISE LAB01",markers=True)             
                                              

NOISE_ANI_FUN.add_annotation(x= 40, y= 6.9,
            text="SPEC_TYP",
            showarrow=True,
            arrowhead=1)

NOISE_ANI_FUN.show()

The plot is given below.

enter image description here

You can see that the name of Y axis showing as 'value'.This is automatically taken by the code.

I need to change the name of Y axis to "Noise[uVrms]" instead of value.

May I know how to do this

0 Answers
Related