Skip to content

Commit c433cf2

Browse files
authored
seaborn-new.rst fix alvis
1 parent 0cb68cf commit c433cf2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/day3/seaborn-new.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,7 @@ Load and Run Seaborn
163163
# If needed, install the packages here by: "conda install matplotlib pandas seaborn"
164164
spyder &
165165
166-
167-
In all cases, once Seaborn or the module that provides it is loaded, it can be imported directly in Python. The typical abbreviation in online documentation is ``sns``, but for those of us who never watched The West Wing, any sensible abbrevation will do. Here we use ``sb``.
168-
169-
.. attention::
170-
171-
Remember: if you write Python scripts to be executed from the command line and you want any figures to open in a GUI window at runtime (as opposed to merely saving a figure to file), then your Python script will need to include ``matplotlib.use('Tkinter')``.
172-
173-
If you run these code snippets in Jupyter, you will need to include ``%% matplotlib inline``
174-
175-
.. tab:: Alvis (C3SE)
166+
.. tab:: Alvis (C3SE)
176167

177168
.. important::
178169

@@ -197,6 +188,15 @@ In all cases, once Seaborn or the module that provides it is loaded, it can be i
197188
198189
199190
191+
In all cases, once Seaborn or the module that provides it is loaded, it can be imported directly in Python. The typical abbreviation in online documentation is ``sns``, but for those of us who never watched The West Wing, any sensible abbrevation will do. Here we use ``sb``.
192+
193+
.. attention::
194+
195+
Remember: if you write Python scripts to be executed from the command line and you want any figures to open in a GUI window at runtime (as opposed to merely saving a figure to file), then your Python script will need to include ``matplotlib.use('Tkinter')``.
196+
197+
If you run these code snippets in Jupyter, you will need to include ``%% matplotlib inline``
198+
199+
200200
Common Features
201201
---------------
202202

0 commit comments

Comments
 (0)