pythonseaborn

Why import seaborn as sns?


Why do you always import seaborn as sns and not with the letters of the name as sbn?

Is sns an acronym for something?

Or is it some kind of joke?

As cel commented, someone put this as an issue in github.
There, they do not answer the question but say that it is a joke related to the original name of the library.


Solution

  • Samuel Norman "Sam" Seaborn is a fictional character portrayed by Rob Lowe on the television serial drama The West Wing.

    So, it's a joked initialism.

    (source: seaborn FAQ)