{ "cells": [ { "cell_type": "markdown", "id": "beee2b37-9bc1-48ef-bafe-c47d26c1b14a", "metadata": { "tags": [] }, "source": [ "# Visualization\n", "\n", "As the return value of a sliced dataset is a `xarray.DataArray` instead of a `numpy.ndarray` plotting features of `xarray` is used. For more information about `xarray` see https://docs.xarray.dev/en/stable/" ] }, { "cell_type": "code", "execution_count": 1, "id": "eef0bc9a-032a-44aa-b3b8-24d24ba5ae5e", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Failed to import module h5tbx\n" ] } ], "source": [ "import h5rdmtoolbox as h5tbx\n", "h5tbx.use(None)\n", "\n", "import matplotlib.pyplot as plt\n", "import numpy as np" ] }, { "cell_type": "code", "execution_count": 10, "id": "fd905094-ca04-49c5-8685-37b01ee80e75", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "