Skip to content

Matplotlib and Seaborn inside Grasshopper 3D using Rhino Compute, Hops, and Flask. Enter the following link in Grasshopper.

Notifications You must be signed in to change notification settings

timonielsen/seaborn_grasshopper

 
 

Repository files navigation

Seaborn Grasshopper

A Rhino Remote library that brings Seaborn (Matplotlib) inside of Grasshopper using Hops.

This second version is a complete refactor of the seaborn-grasshopper implementation. This approach greatly improves from the first version in the following ways:

  • Additional fuctions added
    • despine Dictionary with "Despine" functions arguments, that removes top and right axis lines.
    • add_args Use additional figure arguments are not implemented in Grasshopper.
    • ax_args Implement axis arguments to the matplotlib.Axis element. (Set title, x and y limits, etc )
    • fig_size Change figure size
  • Ready for web deployment using Heroku and gunicorn
  • Export image as a encoded b64 string
  • Less code duplication
  • Correct handling of defaults
  • Style improvement

More information

More infromation on how to use the tool comming soon.

Typical workflow

Seaborn Grasshopper Author : Pablo Arango

Result examples

image Author : MaesAntoine

Deployment

Follow this tutorial. The code is already set-up to work with Heroku.

About

Matplotlib and Seaborn inside Grasshopper 3D using Rhino Compute, Hops, and Flask. Enter the following link in Grasshopper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 89.1%
  • Python 10.9%