From d4ff8df18520a48498d41ba0dda30952ca5bf182 Mon Sep 17 00:00:00 2001 From: Dou Du Date: Thu, 30 May 2024 16:57:15 +0200 Subject: [PATCH] update notebook --- example/example.ipynb | 111 ++++++------------------------------------ 1 file changed, 14 insertions(+), 97 deletions(-) diff --git a/example/example.ipynb b/example/example.ipynb index d24324f..1aca97e 100644 --- a/example/example.ipynb +++ b/example/example.ipynb @@ -2,17 +2,9 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "env: ANYWIDGET_HMR=1\n" - ] - } - ], + "outputs": [], "source": [ "# This cell is only needed for development.\n", "%load_ext autoreload\n", @@ -22,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -41,7 +33,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -59,24 +51,9 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "709f5e8246d247fbbdfad474de5288da", - "version_major": 2, - "version_minor": 1 - }, - "text/plain": [ - "BandsPlotWidget(bands=[{'label': '', 'path': [['GAMMA', 'X'], ['X', 'U'], ['K', 'GAMMA'], ['GAMMA', 'L'], ['L'…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "w1 = BandsPlotWidget(\n", " bands = [si_bands],\n", @@ -99,24 +76,9 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "cb7bf3ace625413684085f640b4db436", - "version_major": 2, - "version_minor": 1 - }, - "text/plain": [ - "BandsPlotWidget(bands=[{'label': '', 'path': [['GAMMA', 'Y'], ['Y', 'C_0'], ['SIGMA_0', 'GAMMA'], ['GAMMA', 'Z…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "w2 = BandsPlotWidget(\n", " bands=[co_bands],\n", @@ -135,24 +97,9 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "bfdcdd23e21845d0b2d8e6cbb6d0f3da", - "version_major": 2, - "version_minor": 1 - }, - "text/plain": [ - "BandsPlotWidget(dos={'fermi_energy': 18.249471602831, 'dos': [{'x': [-77.703, -77.683, -77.663, -77.643, -77.6…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "w3 = BandsPlotWidget(\n", " dos=co_dos,\n", @@ -170,24 +117,9 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "a313db7073a240118703134188f83983", - "version_major": 2, - "version_minor": 1 - }, - "text/plain": [ - "BandsPlotWidget(bands=[{'label': '', 'path': [['GAMMA', 'X'], ['X', 'U'], ['K', 'GAMMA'], ['GAMMA', 'L'], ['L'…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "w4 = BandsPlotWidget(\n", " bands=[si_bands],\n", @@ -205,24 +137,9 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "55501976c2ac42ed856c81b5a542d2f8", - "version_major": 2, - "version_minor": 1 - }, - "text/plain": [ - "BandsPlotWidget(bands=[{'label': '', 'path': [['GAMMA', 'X'], ['X', 'U'], ['K', 'GAMMA'], ['GAMMA', 'L'], ['L'…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "w5 = BandsPlotWidget(\n", " bands=[si_bands, si_bands_shifted],\n",