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.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for macrocosm_visual-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ee1790c25878d9664485760e6edf8c0fafefff983770deb5671f3634647917ae
MD5 17e3dd2d59e4360d3938eaa31a164bf2
BLAKE2b-256 c15052c022042a654f0ce74447a831a5f34926601d71db48d13a302b3333ae33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for macrocosm_visual-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99151bca607af5ebb591e4b7bf3b2ddf2d3185c7c6dadd504e17a261f3e59b8e
MD5 07503d555a7a9642518b14e6fde3b6df
BLAKE2b-256 b4826a2a002c5e0a12bb3d66b448b3c061df5ad0f6014ff8f00c96ffd66265bf

See more details on using hashes here.

Supported by

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