{ "cells": [ { "cell_type": "markdown", "metadata": { "dotnet_interactive": { "language": "csharp" }, "polyglot_notebook": { "kernelName": "csharp" } }, "source": [ "To reproduce the package, run `./Repack.ps1` in powershell. It will clean your cache in `~/.nuget/packages` and pack the library to `Plotly.NET/pkg` folder, which you should specify below (absolute paths only) in `#i` line.\n", "\n", "The version of the package is always `0.0.0-dev`." ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "dotnet_interactive": { "language": "fsharp" }, "vscode": { "languageId": "polyglot-notebook" } }, "outputs": [ { "data": { "text/html": [ "
Restore sources
Installed Packages
" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "Loading extensions from `C:\\Users\\schne\\.nuget\\packages\\plotly.net.interactive\\0.0.1-dev\\interactive-extensions\\dotnet\\Plotly.NET.Interactive.dll`" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "// be advised, that you always should set absolute paths for local nuget packages - change this to reflect your own setup\n", "#i \"nuget: C:/Users/schne/source/repos/plotly/Plotly.NET/pkg\"\n", "#r \"nuget: Plotly.NET, 0.0.1-dev\"\n", "#r \"nuget: Plotly.NET.Interactive, 0.0.1-dev\"" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "dotnet_interactive": { "language": "fsharp" }, "vscode": { "languageId": "polyglot-notebook" } }, "outputs": [ { "data": { "text/html": [ "

lel!

" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "open Plotly.NET\n", "open Giraffe.ViewEngine\n", "\n", "Chart.Point([1,2; 3,4])\n", "|> Chart.withDescription [\n", " h1 [] [str \"lel!\"]\n", "]" ] } ], "metadata": { "kernelspec": { "display_name": ".NET (C#)", "language": "C#", "name": ".net-csharp" }, "polyglot_notebook": { "kernelInfo": { "defaultKernelName": "csharp", "items": [ { "aliases": [], "name": "csharp" }, { "aliases": [ "frontend" ], "languageName": null, "name": "vscode" } ] } } }, "nbformat": 4, "nbformat_minor": 2 }