{ "cells": [ { "cell_type": "markdown", "id": "709cb0ba-42cd-44bb-a293-f6b27d16d6cf", "metadata": {}, "source": [ "# Explanations of warnings and how to get rid of them" ] }, { "cell_type": "markdown", "id": "258caa7b-a8a2-4e25-9f53-c8bef95cba70", "metadata": {}, "source": [ "Sometimes when you're working with *thebeat* you'll encounter warnings. While useful, they can of course become annoying at some point. Even though it's possible to simply disable all these warnings (see at the bottom of this page), we believe it's better practice to look into the origin of the warning, and solve it there. \n", "\n", "Below you'll find a number of common warnings and an explanation of where they originate." ] }, { "cell_type": "code", "execution_count": 26, "id": "9a3e8576-ae54-488b-b8b8-3815f95df086", "metadata": { "nbsphinx": "hidden", "tags": [] }, "outputs": [], "source": [ "%matplotlib inline\n", "import warnings\n", "warnings.filterwarnings('ignore', message=\"Matplotlib \")" ] }, { "cell_type": "markdown", "id": "6b0a6a3d-572d-4e5d-a8f5-4ae9e7a86bd2", "metadata": {}, "source": [ "## Frame rounding" ] }, { "cell_type": "markdown", "id": "39959ef4-eb67-407a-b3f4-2c3c75f7cd80", "metadata": {}, "source": [ "### What does the warning look like?\n", "\n", "