{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "8f437aa5",
   "metadata": {},
   "source": [
    "# Plot objects\n",
    "\n",
    "Plot objects are the equivalent of matplotlib's plotting functions. In diplotocus, they are created but are not directly plotted by default. Instead, animations are applied to them, and they are animated through a `Timeline` object.\n",
    "\n",
    "Currently, the following plot objects are available in diplotocus (more are planned in the future):\n",
    "- `scatter()`\n",
    "- `plot()`\n",
    "- `step()`\n",
    "- `fill_between()`\n",
    "- `fill_betweenx()`\n",
    "- `axvline()`\n",
    "- `axhline()`\n",
    "- `errorbar()`\n",
    "- `hist()`\n",
    "- `hist2d()`\n",
    "- `contourf()`\n",
    "- `text()`\n",
    "- `svg()`\n",
    "\n",
    "Their signature are the same as the [matplotlib ones](https://matplotlib.org).\n",
    "\n",
    "## SVG\n",
    "\n",
    "`svg()` is a special plot object that holds vector-based data.\n",
    "\n",
    "```{eval-rst}\n",
    ".. automethod:: diplotocus.animations.svg\n",
    "    :noindex:\n",
    "```"
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
