Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

plotly grid lines color

import plotly.express as px
df = px.data.iris()

fig = px.scatter(df, x="sepal_width", y="sepal_length", facet_col="species")
fig.update_xaxes(showgrid=True, gridwidth=1, gridcolor='LightPink')
fig.update_yaxes(showgrid=True, gridwidth=1, gridcolor='LightPink')

fig.show()
Comment

PREVIOUS NEXT
Code Example
Python :: pandas drop rows with null in specific column 
Python :: swap keys and values in dictionary python 
Python :: install library from python code 
Python :: django gmail smtp 
Python :: add column as index pandas 
Python :: random color python matplotlib 
Python :: seaborn create a correlation matrix 
Python :: conda install nltk 
Python :: email validation python 
Python :: pandas return first row 
Python :: how to read pdf in python 
Python :: spark dataframe get unique values 
Python :: matplotlib legend 
Python :: pandas groupby count as new column 
Python :: how to make a text input box python pygame 
Python :: print python path variable 
Python :: django settings variables 
Python :: python get int from string 
Python :: python exit button 
Python :: How to check how much time elapsed Python 
Python :: how to get data in treeview in tkiter 
Python :: python except show error 
Python :: sns seaborn set theme 
Python :: python get all file names in a dir 
Python :: python get command line arguments 
Python :: split filename and extension python 
Python :: Import "decouple" could not be resolved Pylance 
Python :: how to split channels wav python 
Python :: python - save file 
Python :: split list into list of lists python on every n element 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =