{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## Visualization using FigRecipes" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "*authors: Alireza Faghaninia, Alex Dunn, Joseph Montoya*" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This notebook illustrates some of the basic plotting functionality of matminer.figrecipes which is integrated with a number of other data management functionalities of the package. Note that these examples and a few additional ones are included in script form in the [matminer_examples](https://github.com/hackingmaterials/matminer_examples/tree/master/figrecipes) repository.\n", "\n", "This notebook was last updated 11/15/18 for version 0.4.5 of matminer.\n", "\n", "**Note that in order to get the in-line plotting to work, you might need to start Jupyter notebook with a higher data rate, e.g., ``jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10``. We recommend you do this before starting.**" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "from matminer.datasets import load_dataset\n", "from pymatgen.core.composition import Composition\n", "from figrecipes import PlotlyFig" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### XY and scatter plots" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/html": [ "