Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

scatter plot plotly

import plotly.express as px
df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species",
                 size='petal_length', hover_data=['petal_width'])
fig.show()
Comment

PREVIOUS NEXT
Code Example
Python :: django sort queryset 
Python :: pandas convert date column to year and month 
Python :: pygame mouse pos 
Python :: sys get current pythonpath 
Python :: cosine interpolation 
Python :: micropython network 
Python :: python title case 
Python :: Python find inverse of matrix 
Python :: where to import reverse_lazy in django 
Python :: how to roll longitude axis 
Python :: how to change the color of command prompt in python 
Python :: change plot size matplotlib python 
Python :: python get files in directory 
Python :: pip show all installed packages 
Python :: python import ndjson data 
Python :: python list methods 
Python :: python link to jpg 
Python :: deleting duplicates in list python 
Python :: como deixar todas as letras maiusculas no python 
Python :: jsonresponse status code django 
Python :: pandas filter on range of values 
Python :: select rows with nan pandas 
Python :: python write to file csv 
Python :: python mock function return value 
Python :: django.core.exceptions.ImproperlyConfigured 
Python :: Basic method of Converting List to Dataframe 
Python :: how to invert a list in python 
Python :: difference between sort and sorted 
Python :: python telegram bot send image 
Python :: count gabarit django 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =