Commit ac10acb
committed
Cleanup imshow_extent tutorial.
- Move title-setting out to make it hopefully clearer (it's the first
row that matters, not the one with `extent=None`).
- Define the kwargs to annotate() at a single call site rather than in a
separate dict.
- Add show() to make the example runnable from the command-line.1 parent 17ef13b commit ac10acbCopy full SHA for ac10acb
File tree
Expand file treeCollapse file tree
1 file changed
+7
-11
lines changedOpen diff view settings
Filter options
- tutorials/intermediate
Expand file treeCollapse file tree
1 file changed
+7
-11
lines changedOpen diff view settings
Collapse file
tutorials/intermediate/imshow_extent.py
Copy file name to clipboardExpand all lines: tutorials/intermediate/imshow_extent.py+7-11Lines changed: 7 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
148 | 148 | |
149 | 149 | |
150 | 150 | |
| 151 | + |
151 | 152 | |
152 | | - |
153 | | - |
154 | | - |
155 | | - |
156 | 153 | |
157 | | - |
158 | | - |
| 154 | + |
159 | 155 | |
160 | 156 | |
161 | | - |
162 | | - |
163 | | - |
164 | | - |
165 | | - |
| 157 | + |
| 158 | + |
| 159 | + |
166 | 160 | |
167 | 161 | |
168 | 162 | |
| ||
263 | 257 | |
264 | 258 | |
265 | 259 | |
| 260 | + |
| 261 | + |
0 commit comments