Labelling the axes

Hello All,

I am trying to plot some data using line_chart. I want to label the axes and would like to add title to it.

Additionally, if it isn’t possible, I would like to use a plot plotted by matplotlib.pyplot and display on my web-app.

Can anyone help me out. Thanks in advance.

Hi @Harish_Kodarapu -

line_chart is syntactic sugar for altair_chart, making simplifying assumptions about the data to make a quick plot. If the function doesn’t do what you expect, you can either pass the specification to altair_chart, or in your case, if you want to use pyplot, then you can use the pyplot function.