MatPlotLibNet.Verso 1.18.0

dotnet add package MatPlotLibNet.Verso --version 1.18.0
                    
NuGet\Install-Package MatPlotLibNet.Verso -Version 1.18.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MatPlotLibNet.Verso" Version="1.18.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MatPlotLibNet.Verso" Version="1.18.0" />
                    
Directory.Packages.props
<PackageReference Include="MatPlotLibNet.Verso" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MatPlotLibNet.Verso --version 1.18.0
                    
#r "nuget: MatPlotLibNet.Verso, 1.18.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MatPlotLibNet.Verso@1.18.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MatPlotLibNet.Verso&version=1.18.0
                    
Install as a Cake Addin
#tool nuget:?package=MatPlotLibNet.Verso&version=1.18.0
                    
Install as a Cake Tool

MatPlotLibNet for Verso

Charts inside a Verso notebook cell.

Install this from Verso's Extensions panel, then return a figure from a C# cell:

#r "nuget: MatPlotLibNet"

using MatPlotLibNet;

Plt.Create()
   .WithTitle("Revenue")
   .AddSubPlot(1, 1, 1, ax => ax
       .Plot([1, 2, 3, 4], [12, 18, 15, 21], s => s.Label = "2026")
       .WithLegend())

That is the whole cell. There is nothing to import from this package and nothing to call: the chart is the cell's last expression, and it draws inline as SVG. A figure works, and so does the builder that makes one — you do not have to remember .Build().

The picture is drawn by MatPlotLibNet, a charting library for C# with 83 chart types and 148 colormaps, so anything it can draw is a cell away: line, scatter, bar, histogram, candlestick, heatmap, 3-D surfaces, maps.

What it does with the space it is given

The chart fills the width of the cell and keeps its proportions. If a figure is taller than the cell can show, it gets a scroll box rather than being squeezed — a chart drawn at a size nobody chose is worse than one you scroll.

If something cannot be drawn

The cell says so in words, with the message from the renderer itself, instead of a stack trace from inside the charting library.

MIT licensed.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.18.0 37 9/23/2026

MatPlotLibNet 1.18.0. What changed in this release, and in every release before it, is written out in the changelog: https://github.com/xkqg/MatPlotLibNet/blob/main/CHANGELOG.md#1180