@@ -81,7 +81,7 @@ \section*{\LARGE \rmfamily
81
81
\subsection* {\rmfamily Transparency }
82
82
83
83
Scatter plots can be enhanced by using transparency (alpha) in order
84
- to show area with higher density and multiple scatter plots can be
84
+ to show area with higher density. Multiple scatter plots can be
85
85
used to delineate a frontier.
86
86
87
87
\begin {tabular }{@{}m{.774\linewidth }m{.216\linewidth }}
@@ -97,7 +97,7 @@ \subsection*{\rmfamily Transparency}
97
97
98
98
% -----------------------------------------------------------------------------
99
99
\subsection* {\rmfamily Rasterization }
100
- If your figure is made of a lot graphical elements such as a huge
100
+ If your figure has many graphical elements such as a huge
101
101
scatter, you can rasterize them to save memory and keep other elements
102
102
in vector format.
103
103
\ begin{lstlisting}
@@ -121,11 +121,11 @@ \subsection*{\rmfamily Offline rendering}
121
121
122
122
% -----------------------------------------------------------------------------
123
123
\subsection* {\rmfamily Range of continuous colors }
124
- You can use colormap to pick a range of continuous colors.
124
+ You can use colormap to pick from a range of continuous colors.
125
125
\begin {tabular }{@{}m{.774\linewidth }m{.216\linewidth }}
126
126
\ begin{lstlisting} [belowskip=-\baselineskip]
127
127
X = np.random.randn(1000, 4)
128
- cmap = plt.get_cmap("Blues ")
128
+ cmap = plt.get_cmap("Oranges ")
129
129
colors = [cmap(i) for in in [.2,.4,.6,.8]]
130
130
131
131
ax.hist(X, 2, histtype='bar', color=colors)
@@ -189,7 +189,7 @@ \subsection*{\rmfamily Combining axes}
189
189
\end {tabular }
190
190
191
191
\subsection* {\rmfamily Colorbar adjustment }
192
- You can adjust colorbar aspect when adding it.
192
+ You can adjust a colorbar's size when adding it.
193
193
194
194
\begin {tabular }{@{}m{.754\linewidth }m{.236\linewidth }}
195
195
\ begin{lstlisting} [belowskip=-\baselineskip]
@@ -203,7 +203,7 @@ \subsection*{\rmfamily Colorbar adjustment}
203
203
\end {tabular }
204
204
205
205
\subsection* {\rmfamily Taking advantage of typography }
206
- You can use a condensed face such as Roboto
206
+ You can use a condensed font such as Roboto
207
207
Condensed to save space on tick labels.
208
208
\ begin{lstlisting}
209
209
for tick in ax.get_xticklabels(which='both'):
@@ -218,7 +218,7 @@ \subsection*{\rmfamily Getting rid of margins}
218
218
219
219
220
220
\subsection* {\rmfamily Hatching }
221
- You can achieve nice visual effect with thick hatch patterns.
221
+ You can achieve a nice visual effect with thick hatch patterns.
222
222
223
223
\begin {tabular }{@{}m{.774\linewidth }m{.216\linewidth }}
224
224
\ begin{lstlisting} [belowskip=-\baselineskip]
@@ -249,4 +249,3 @@ \subsection*{\rmfamily Read the documentation}
249
249
250
250
\end {multicols* }
251
251
\end {document }
252
-
0 commit comments