|
1 | | -# Data visualization with Matplotlib |
| 1 | +# Plotting with Matplotlib |
2 | 2 |
|
3 | 3 | ```{questions} |
4 | 4 | - What happens if you can't automatically produce plots? |
@@ -101,7 +101,7 @@ ax.set_title("some title") |
101 | 101 | # fig.savefig("my-first-plot.png") |
102 | 102 | ``` |
103 | 103 |
|
104 | | -```{figure} data-visualization/first-plot/getting-started.png |
| 104 | +```{figure} plotting-matplotlib/first-plot/getting-started.png |
105 | 105 | :alt: Result of our first plot |
106 | 106 | :width: 80% |
107 | 107 |
|
@@ -142,7 +142,7 @@ matplotlib.use("Agg") |
142 | 142 | [quick start guide](https://matplotlib.org/stable/users/explain/quick_start.html). |
143 | 143 |
|
144 | 144 | - At the end it should look like this one: |
145 | | - ```{figure} data-visualization/first-plot/exercise.png |
| 145 | + ```{figure} plotting-matplotlib/first-plot/exercise.png |
146 | 146 | :alt: Result of the exercise |
147 | 147 | ``` |
148 | 148 |
|
@@ -321,12 +321,12 @@ In this exercise we will learn how to use log scales. |
321 | 321 | ``` |
322 | 322 |
|
323 | 323 | This is the result but we realize that a linear scale is not ideal here: |
324 | | - ```{figure} data-visualization/customizing/gapminder-linear.png |
| 324 | + ```{figure} plotting-matplotlib/customizing/gapminder-linear.png |
325 | 325 | :alt: Gapminder data plotted using a linear scale |
326 | 326 | ``` |
327 | 327 |
|
328 | 328 | - Your task is to switch to a log scale and arrive at this result: |
329 | | - ```{figure} data-visualization/customizing/gapminder-log.png |
| 329 | + ```{figure} plotting-matplotlib/customizing/gapminder-log.png |
330 | 330 | :alt: Gapminder data plotted using log scale |
331 | 331 | ``` |
332 | 332 |
|
@@ -365,7 +365,7 @@ Your task is to make the tickmarks and the axis label font larger, using |
365 | 365 | [Matplotlib parts of a figure](https://matplotlib.org/stable/users/explain/quick_start.html#parts-of-a-figure) |
366 | 366 | and web search, and to arrive at this: |
367 | 367 |
|
368 | | -```{figure} data-visualization/customizing/gapminder-larger-font.png |
| 368 | +```{figure} plotting-matplotlib/customizing/gapminder-larger-font.png |
369 | 369 | :alt: Gapminder data plotted with larger font and larger ticks |
370 | 370 | ``` |
371 | 371 | ```` |
|
0 commit comments