Plot points with direction(angle) in scatter_mapbox

I want to plot some points on a scatter_mapbox using pandas dataframe.
I have the columns for lat and lon. I have another column which tells the direction of the point in degrees.
I was able to plot the points using px.scatter_mapbox. However I could not find any option to provide direction as an input. I looked through the API and I found that in the Marker it is possible to provide the angle from the true north in degrees, but I am unable to figure out how to use it.
Can anyone help me with that?