{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Plotting a Single Object\n", "\n", "In the previous example we had a `Plot` and added objects to it.\n", "It is however possible to automatically generate a plot for a created object, like:" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "import k3d\n", "\n", "k3d.points([0, 0, 0])" ] }, { "cell_type": "markdown", "metadata": { "collapsed": true }, "source": [ " This is not always a good idea, because a `Plot` object is created behind the scenes.\n", " If there are many of them, showing complex objects, a lot of your browser's memory will be used." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Expected result:\n", "![A single point](assets/03_single_point.png \"A plot with the cell result\")" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.5" } }, "nbformat": 4, "nbformat_minor": 2 }