Skip to main content

Macrocosm Visual Engine

Project description

Macrocosm Visual Engine

Introduction

The package contains allows to setup Python's standard plotting libraries (matplotlib, plotly) to create visualizations that are consistent with the Macrocosm project's visual identity.

Example

After installing the package, import the setup utils

from macrocosm_visual.viz_setup import setup_matplotlib, setup_plotly

Then, run the setup functions for the desired library. For example, for matplotlib run

setup_matplotlib()

The plots will now be styled according to the Macrocosm project's visual identity.

The setup_matplotlib and setup_plotly functions return a VizSetup object. This object can be used to customize the visualizations further. VizSetup objects can be initialized with any desired configuration - see viz-configs-template.yaml for an example configuration file. See the docstrings for more information on VizSetup.

Project details


Download files

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

Source Distribution

macrocosm_visual-0.1.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

macrocosm_visual-0.1.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file macrocosm_visual-0.1.2.tar.gz.

File metadata

  • Download URL: macrocosm_visual-0.1.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for macrocosm_visual-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1baa4a7bf5376fd9c67a0d38578799cd5325cd8deac8be360234fb2c6c103d24
MD5 fc43164d782a1a66b17780b82df920e9
BLAKE2b-256 75b8ef9112bec511ca0a3e990d33adbd2a200fba5aca0c016a7b1fb15ac0eeab

See more details on using hashes here.

File details

Details for the file macrocosm_visual-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for macrocosm_visual-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86a0e5051e2a6d12f755f742ea6d6f866f4fdae8baaa1a4b18807982c803b33a
MD5 797c4297d100349a162e76f4d1a9baec
BLAKE2b-256 605930df6c947119fa5a5c8eb40acfa275330f0516e17c43d9210ed7dfc5598f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page