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.4.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.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for macrocosm_visual-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5d7cff29d9ef72c5715843c5810e151ee8345ef0777e69708404eb409715bc69
MD5 cc81a0bb5a9850eeff727de12e5963d7
BLAKE2b-256 c59b81e88734b1fae661778808ddd37c25c2adb408f5fd30edae7325c0f7f4ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for macrocosm_visual-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5c2083ec454eec769b4dd8260d9f50555bdbe802309eab8dbb4f2427cb979aeb
MD5 e31afc5257f5f5c31a5e4aaf9cab38ab
BLAKE2b-256 8219640f760b6bb76de662d8a46b90620afcdfa25389263a3c10a7b32dd19144

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