dartwork-mpl¶
matplotlib, but beautiful.
Publication-quality plots with zero learning curve.
pip install git+https://github.com/dartworklabs/dartwork-mpl
Quick Example¶
import matplotlib.pyplot as plt
import dartwork_mpl as dm
dm.style.use("scientific") # Pick a style
fig, ax = plt.subplots()
ax.plot([1, 2, 3], [1, 4, 2]) # Regular matplotlib
dm.simple_layout(fig) # Better layout
dm.save_formats(fig, "output") # Export SVG + PNG
Key Features¶
Style Presets
Professional themes for every context: scientific, report, presentation, poster, web, dark, minimal
Smart Layout
Advanced optimization algorithms for perfect margins and spacing automatically
900+ Colors
Named colors from Open Color, Tailwind, and Material Design palettes
Interactive UI
Web-based parameter tuning with real-time preview and code export
Zero API Changes
Works with your existing matplotlib code — no new syntax to learn
Export Formats
One-line export to SVG, PNG, PDF with optimized settings
Documentation¶
Getting Started
Reference