8000 GitHub - chickenservice/matplotlib.net: A wrapper to embed interactive matplotlib in WPF applications
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chickenservice/matplotlib.net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

matplotlib.net

A wrapper to embed interactive matplotlib in .NET desktop applications using Pythonnet. This project is a WIP and supports WPF only at this moment.

Matplotlib embedded in WPF demo

How it works

This is essentially an implementation of a custom matplotlib GUI backend, which is very well documented and has been done for all the popular GUIs like Qt, Tk etc. The only difference being that Pythonnet is necessary to allow in-process access to matplotlib.

Matplotlib uses Agg and Cairo as Vector rasterizers to draw figures, it is essentially GUI-less by default. The rasterized buffer can be retrieved and rendered as a bitmap using any .NET GUI framework. Mouse and key events have to be forwarded to matplotlib such that the figures are updated correctly to allow proper interactive behavior.

About

A wrapper to embed interactive matplotlib in WPF applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published
3819

Packages

No packages published
0