{ "cells": [ { "cell_type": "markdown", "id": "b90d34fb", "metadata": {}, "source": [ "# Check version of packages" ] }, { "cell_type": "code", "execution_count": 1, "id": "25b1d546", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "3.8.15 <-> 3.8.x\n", "3.7.4 <-> 3.7.x\n", "1.24.4 <-> 1.24.x\n", "4.0 <-> 4.0.x\n", "2.0.9 <-> 2.0.x\n" ] } ], "source": [ "import sys\n", "import matplotlib\n", "import numpy\n", "import pickle\n", "import json\n", "\n", "print(sys.version[:7], '<-> 3.8.x')\n", "print(matplotlib.__version__, '<-> 3.7.x')\n", "print(numpy.__version__, '<-> 1.24.x')\n", "print(pickle.format_version, '<-> 4.0.x')\n", "print(json.__version__, '<-> 2.0.x')\n", "\n", "\n" ] }, { "cell_type": "markdown", "id": "913932b0-4f27-4bc0-82a9-cef60c832c7d", "metadata": {}, "source": [ "# Figure 1" ] }, { "cell_type": "code", "execution_count": 2, "id": "4f0ea3fd-cbf5-424e-ad97-c7253e654d1d", "metadata": {}, "outputs": [], "source": [ "# import general packages\n", "import numpy as np\n", "\n", "# Matplotlib\n", "from matplotlib import pyplot as plt\n", "from matplotlib import cm\n", "from matplotlib.gridspec import GridSpec" ] }, { "cell_type": "markdown", "id": "98bcc7b4-0a3c-4f36-b5b4-c900e5ca8b84", "metadata": {}, "source": [ "### Plotting Params" ] }, { "cell_type": "code", "execution_count": 3, "id": "2d28f903-3c71-4c1b-b005-e2238c95d092", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/var/folders/bj/yvztxw3x02q7p94lvc80kqt4f5p5j8/T/ipykernel_57460/1992365555.py:2: MatplotlibDeprecationWarning: The seaborn styles shipped by Matplotlib are deprecated since 3.6, as they no longer correspond to the styles shipped by seaborn. However, they will remain available as 'seaborn-v0_8-