Skip to main content

# FigureFirst FigureFirst is a python 3.5+ library to decorate and parse SVG files so they can serve as layout documents for matplotlib figures. * See our github page for readme and examples: http://flyranch.github.io/figurefirst/ * Read the docs: https://figurefirst.readthedocs.io/en/latest/index.html * Read our Scipy 2017 proceedings: http://conference.scipy.org/proceedings/scipy2017/lindsay.html

If you use FigureFirst, please cite the above paper to help others find FigureFirst.

## Installation

`bash pip install figurefirst `

## Use with Inkscape FigureFirst is developed and tested with Inkscape. Some versions and settings of Inkscape are very slow. Try Inkscape 0.92: https://inkscape.org/en/release/0.92.3/

### Installing Inkscape 0.92 on Ubuntu You can install Inkscape 0.92 using ppa: * sudo add-apt-repository ppa:inkscape.dev/stable * sudo apt update * sudo apt install inkscape

### Optimizing Inkscape settings Try increasing the Rendering Tile Multiplier: * Edit > Preference > Rending * Rendering Tile Multiplier = 50 Restart Inkscape

### Installing figurefirst extensions

This package includes a console script, figurefirst_ext to install inkscape extensions. It tries to infer the default installation path for your OS (do figurefirst_ext –help to see what they are), or you can pass a path in manually, e.g..

`bash figurefirst_ext ~/.config/inkscape/extensions `

## Development

  • Clone this repo

  • Test locally by running pytest - To keep the test output files for inspection, add the –keep_files option - To test against all supported python versions, run tox

  • Enable your github account with travis for continuous integration

  • Raise a pull request

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

figurefirst-0.0.3.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

figurefirst-0.0.3-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file figurefirst-0.0.3.tar.gz.

File metadata

  • Download URL: figurefirst-0.0.3.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for figurefirst-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b109dababed9818f18015fb281bb34d8d55cc2486050c0381a7af523df448904
MD5 8e9675821b87f94ce2249bd36fc75320
BLAKE2b-256 3f569e453b62aaf15233a8ad35706efd88f1cffee9f5ad6c27c3a3689e1c5b9e

See more details on using hashes here.

File details

Details for the file figurefirst-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: figurefirst-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 46.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for figurefirst-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 539777a36bcb17e9ba96acdea2ea552ed32dea970a393f0ec147013e69b98458
MD5 ebf21a1bb4b44a95a163846467b0c03b
BLAKE2b-256 c524aab4808bfd81fbe31bba77ac9e6b07c66fe4882a841f6b2708dc0a1fc625

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

This release

0.0.3 This release

2 files

0.0.2

2 files

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page