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

Uploaded Python 3

File details

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

File metadata

  • Download URL: macrocosm_visual-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 c4a1266a4d2a6e4451a51dd949c66d217c9a06661df507b2e2bd21975d1299c2
MD5 b3055ea4a83d15556c1b6a8bd8052241
BLAKE2b-256 2106d9143f92a6458cb44609b0c6cc87bd6ae92c790c06b4e1fa98ef70a799cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for macrocosm_visual-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8b84acc73655e9a5be9370293766c8f90189a49ffc5af4f2c147cd59652fdbe0
MD5 e6ca27de0d62074a1aa4ce2885573975
BLAKE2b-256 c3d6d97f0fb9ab36e115cbc2d2d9503e1e42be4f3e10cf3d73a98367650ace62

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