@@ -81,7 +81,7 @@ \section*{\LARGE \rmfamily
8181\subsection* {\rmfamily Transparency }
8282
8383Scatter 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
8585used to delineate a frontier.
8686
8787\begin {tabular }{@{}m{.774\linewidth }m{.216\linewidth }}
@@ -97,7 +97,7 @@ \subsection*{\rmfamily Transparency}
9797
9898% -----------------------------------------------------------------------------
9999\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
101101scatter, you can rasterize them to save memory and keep other elements
102102in vector format.
103103\ begin{lstlisting}
@@ -121,11 +121,11 @@ \subsection*{\rmfamily Offline rendering}
121121
122122% -----------------------------------------------------------------------------
123123\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.
125125\begin {tabular }{@{}m{.774\linewidth }m{.216\linewidth }}
126126\ begin{lstlisting} [belowskip=-\baselineskip]
127127 X = np.random.randn(1000, 4)
128- cmap = plt.get_cmap("Blues ")
128+ cmap = plt.get_cmap("Oranges ")
129129 colors = [cmap(i) for in in [.2,.4,.6,.8]]
130130
131131 ax.hist(X, 2, histtype='bar', color=colors)
@@ -189,7 +189,7 @@ \subsection*{\rmfamily Combining axes}
189189\end {tabular }
190190
191191\subsection* {\rmfamily Colorbar adjustment }
192- You can adjust colorbar aspect when adding it.
192+ You can adjust a colorbar's size when adding it.
193193
194194\begin {tabular }{@{}m{.754\linewidth }m{.236\linewidth }}
195195\ begin{lstlisting} [belowskip=-\baselineskip]
@@ -203,7 +203,7 @@ \subsection*{\rmfamily Colorbar adjustment}
203203\end {tabular }
204204
205205\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
207207Condensed to save space on tick labels.
208208\ begin{lstlisting}
209209 for tick in ax.get_xticklabels(which='both'):
@@ -218,7 +218,7 @@ \subsection*{\rmfamily Getting rid of margins}
218218
219219
220220\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.
222222
223223\begin {tabular }{@{}m{.774\linewidth }m{.216\linewidth }}
224224\ begin{lstlisting} [belowskip=-\baselineskip]
@@ -249,4 +249,3 @@ \subsection*{\rmfamily Read the documentation}
249249
250250\end {multicols* }
251251\end {document }
252-
0 commit comments