Question: Review the following code: import plotly.express as px data = { ' a ' : [ 1 , 2 , 3 , 4 ] ,
Review the following code:
import plotly.express as px
data a: b:
fig pxlinedata xa yb
fig.show
What will happen when this code is executed?
Group of answer choices
An error will occur because the data is not in a DataFrame.
A line chart will be displayed with a as the xaxis and b as the yaxis.
Nothing will be displayed as pxline is not a valid function.
An error will occur because the labels for the axes are not specified.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
