{ "cells": [ { "cell_type": "raw", "metadata": {}, "source": [ "---\n", "title: \"Test chunk options in Rmd/Jupyter conversion\"\n", "author: \"Marc Wouts\"\n", "date: \"June 16, 2018\"\n", "---" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "lines_to_next_cell": 2, "name": "knitr_setup", "tags": [ "remove_cell" ] }, "outputs": [], "source": [ "%%R\n", "knitr::opts_chunk$set(echo = FALSE, fig.width = 10, fig.height = 5)" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "echo": true }, "outputs": [], "source": [ "import pandas as pd\n", "x = pd.Series({'A':1, 'B':3, 'C':2})" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "fig.height": 5, "fig.width": 8, "lines_to_next_cell": 0, "name": "bar_plot", "tags": [ "remove_input" ] }, "outputs": [], "source": [ "x.plot(kind='bar', title='Sample plot')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python", "language": "python", "name": "python3" } }, "nbformat": 4, "nbformat_minor": 2 }