|
154 | 154 | "id": "e01b4417-71f1-47c6-b699-5d2dbca85cbe", |
155 | 155 | "metadata": {}, |
156 | 156 | "source": [ |
157 | | - "#### 1.2.2. Parameters\n", |
158 | | - "\n", |
159 | | - "Set the parameters of `matplotlib.pyplot` to give us a large default size for an image, and set some other parameters to make the default plot style be color-blind friendly and otherwise make plots look nice." |
160 | | - ] |
161 | | - }, |
162 | | - { |
163 | | - "cell_type": "code", |
164 | | - "execution_count": null, |
165 | | - "id": "da8e0929-fff7-4e08-8cf5-cdb441f9a96f", |
166 | | - "metadata": {}, |
167 | | - "outputs": [], |
168 | | - "source": [ |
169 | | - "plt.style.use('tableau-colorblind10')\n", |
170 | | - "%matplotlib inline\n", |
171 | | - "\n", |
172 | | - "params = {'axes.labelsize': 28,\n", |
173 | | - " 'font.size': 24,\n", |
174 | | - " 'legend.fontsize': 14,\n", |
175 | | - " 'xtick.major.width': 3,\n", |
176 | | - " 'xtick.minor.width': 2,\n", |
177 | | - " 'xtick.major.size': 12,\n", |
178 | | - " 'xtick.minor.size': 6,\n", |
179 | | - " 'xtick.direction': 'in',\n", |
180 | | - " 'xtick.top': True,\n", |
181 | | - " 'lines.linewidth': 3,\n", |
182 | | - " 'axes.linewidth': 3,\n", |
183 | | - " 'axes.labelweight': 3,\n", |
184 | | - " 'axes.titleweight': 3,\n", |
185 | | - " 'ytick.major.width': 3,\n", |
186 | | - " 'ytick.minor.width': 2,\n", |
187 | | - " 'ytick.major.size': 12,\n", |
188 | | - " 'ytick.minor.size': 6,\n", |
189 | | - " 'ytick.direction': 'in',\n", |
190 | | - " 'ytick.right': True,\n", |
191 | | - " 'figure.figsize': [8, 8],\n", |
192 | | - " 'figure.facecolor': 'White'\n", |
193 | | - " }\n", |
194 | | - "plt.rcParams.update(params)" |
| 157 | + "#### 1.2.2. Parameters\n" |
195 | 158 | ] |
196 | 159 | }, |
197 | 160 | { |
|
799 | 762 | "metadata": {}, |
800 | 763 | "outputs": [], |
801 | 764 | "source": [ |
802 | | - "#help(display.scale)" |
| 765 | + "help(display.scale)" |
803 | 766 | ] |
804 | 767 | }, |
805 | 768 | { |
|
809 | 772 | "metadata": {}, |
810 | 773 | "outputs": [], |
811 | 774 | "source": [ |
812 | | - "#help(display.image)" |
| 775 | + "help(display.image)" |
813 | 776 | ] |
814 | 777 | }, |
815 | 778 | { |
|
973 | 936 | " for i in sources:\n", |
974 | 937 | " afw_display.dot('o', i['x'],\n", |
975 | 938 | " i['y'],\n", |
976 | | - " size=5, ctype='orange')\n", |
| 939 | + " size=3, ctype='orange')\n", |
977 | 940 | "plt.show()\n", |
978 | 941 | "remove_figure(fig)" |
979 | 942 | ] |
|
0 commit comments