{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Output Containers and Layout Managers\n", "\n", "Output containers are objects that hold a collection of other objects, and displays all its contents, even when they are complex interactive objects and MIME type.\n", "By default the contents are just stacked up on the page, but you can configure them to get tabs, a grid, or cycling." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Stacked Output Containers" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "from beakerx import *\n", "o = OutputContainer()\n", "o.addItem(\"simplest example\")\n", "o.addItem([2, 3, 5, 7])\n", "o.addItem(HTML(\"