{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "
\n", " \n", " \n", " \n", "
" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# VIS \n", "\n", "\n", "## Line 3D Chart\n", "\n", "More information about this chart [here](https://visjs.github.io/vis-timeline/examples/graph2d/)" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", "\n", "\n", "
\n", "\n", "\n", "" ], "text/plain": [ "" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from epyk.core.Page import Report\n", "from epyk.tests import data_urls\n", "\n", "rptObj = Report()\n", "\n", "data = rptObj.py.requests.csv(data_urls.PLOTLY_POINTS)\n", "\n", "c = rptObj.ui._3d.vis.line(data, y_columns=[\"y\"], x_axis=\"x\", z_axis=\"z\")\n", "\n", "rptObj.ui.button(\"reset\").click([\n", " c.build( rptObj.data.vis.xyz(data[:6], y_columns=[\"x\"], x_axis=\"x\", z_axis=\"y\") ),\n", "])\n", "\n", "rptObj.outs.jupyter()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "For more details about this charts and the various options and properties available please refer to the [official website](http://nvd3.org/)\n", "\n", "Anything on the website should be available in the Python interface.\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Go back to the Chart Home page\n", "
\n", "Do not forget that this is a collaborative framework so do not hesitate to give feedbacks and like the different repository to get more visbility.\n", "\n", "Also any help is more than welcome !" ] } ], "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.8.2" } }, "nbformat": 4, "nbformat_minor": 4 }