Skip to content

Commit

Permalink
Update content/xarray.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Marijn van Vliet <[email protected]>
  • Loading branch information
gregordecristoforo and wmvanvliet authored Oct 23, 2024
1 parent d52f518 commit 13197f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/xarray.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ As you can see, the Xarray code is much more readable and we didn't need to keep
Plotting data in Xarray
-----------------------

Another awesome feature of Xarray is its plotting capabilities. We can easily plot data in 1D and 2D using the ``.plot()`` method. Xarray uses a widely used plotting library called matplotlib for this. When calling the ``.plot()`` method, Xarray checks the dimensionality of the data and plots it accordingly. Let's import matplotlib and plot the data: ::
Like Pandas, Xarray comes with basic plotting capabilities. We can easily plot data in 1D and 2D using the ``.plot()`` method. Xarray uses a widely used plotting library called matplotlib for this. When calling the ``.plot()`` method, Xarray checks the dimensionality of the data and plots it accordingly. Let's import matplotlib and plot the data: ::

>>> import matplotlib.pyplot as plt

Expand Down

0 comments on commit 13197f4

Please sign in to comment.