Import seaborn as ??
See original GitHub issueNot an issue, just a question from an enthusiastic user. You seem to like
import seaborn as sns
as your import style. When you type that, what is the voice in your head saying out loud? I had generally been importing as sbn
since it “sounded right”.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:6
- Comments:11 (6 by maintainers)
Top Results From Across the Web
An introduction to seaborn — seaborn 0.12.1 documentation
Let's go through them one by one: # Import seaborn import seaborn as sns. Seaborn is the only library we need to import...
Read more >Seaborn - W3Schools
Visualize Distributions With Seaborn Seaborn is a library that uses Matplotlib underneath to plot graphs. It will be used to visualize random distributions....
Read more >Better Plotting in Python with Seaborn - Hooked on Data
To get started with seaborn, you're going to need to install it in the terminal with either pip install seaborn or conda install...
Read more >python - Seaborn - Why import as sns? - Stack Overflow
Samuel Norman "Sam" Seaborn is a fictional character portrayed by Rob Lowe on the television serial drama The West Wing. So, it's a...
Read more >seaborn - PyPI
pip install seaborn[stats]. Seaborn can also be installed with conda: conda install seaborn. Note that the main anaconda repository lags PyPI in adding...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
While I think that this is funny I think this should be mentioned somewhere. For code readability, module abbreviations should be consistent and I think people would more readily use
sns
if they knew why 😃.All kidding aside, I think that’s a very reasonable point. I suppose I prefer
sbn
since it doesn’t require people to “get the joke” even if the joke is documented. But I’m a team player, so I will probably just confirm my code to whatever consensus seems to be.