...
/Learning about the Different Ways of Using Scatterplots
Learning about the Different Ways of Using Scatterplots
Get familiar with the popularly used methods of utilizing bar charts using Plotly.
We'll cover the following...
We have a number of different options when using graph_objects
to create scatterplots, as mentioned in the introduction, so we will be exploring it together with Plotly Express. To give you an idea of the versatility of the available scatterplots, the following code extracts all the scatter
methods available to the Figure
object, as well as those available in Plotly Express:
Press + to interact
import plotly.express as pximport plotly.graph_objects as goprint([f for f in dir(px) if 'scatter' in f])fig = go.Figure()print([f for f in dir(fig) if 'scatter' in f])
Looking at the output, we can see there are some overlaps in the available methods and there are also some methods that aren’t available in both modules. We won’t go into all of ...