Skip to content

Instantly share code, notes, and snippets.

@mwaskom
Created December 3, 2015 19:49
Show Gist options
  • Star 41 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save mwaskom/7be0963cc57f6c89f7b2 to your computer and use it in GitHub Desktop.
Save mwaskom/7be0963cc57f6c89f7b2 to your computer and use it in GitHub Desktop.
Use seaborn with a dark background, if you like that sort of thing.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kirktobridge
Copy link

kirktobridge commented Aug 2, 2019

Have been searching everywhere to figure out how to do this, thank you

@hughesadam87
Copy link

hughesadam87 commented Nov 6, 2019

Yes - thank you! PS - any idea how to add grid?

@PatrickRudgeri
Copy link

@hugadams
Just change style="ticks" to style="darkgrid" and add the following line:
plt.rcParams.update({"grid.linewidth":0.5, "grid.alpha":0.5}) # To enhance the grid's aesthetics

@PythonCoderUnicorn
Copy link

Thank you for this!

@Irene-123
Copy link

A huge thanks to you.

@akkiannu
Copy link

How do I revert to the original style?

@kboyvlogs
Copy link

Thank You!

@vrbabu9000
Copy link

Very Helpful my friend! Thank you :)

@zlatko-minev
Copy link

Nice!

@wlinds
Copy link

wlinds commented Nov 11, 2022

Nice, thanks!

@Azad-Me
Copy link

Azad-Me commented Feb 16, 2023

ohh my God Thank you

@sc0v0ne
Copy link

sc0v0ne commented Feb 24, 2023

Thanks, you save my eyes.

@Unobtainian
Copy link

Thanks!!

@TheMakavelly
Copy link

Gracias man...

@sabwhat
Copy link

sabwhat commented Mar 4, 2024

Спасибо, Чувак !!!!

@VidalRoschi
Copy link

братик

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment