Skip to main content

A framework for creating data analysis GUIs that absorb all data within their event horizon.

Project description


So what is it?

GrAF is a file format which allows you to save graphs, including the data and format settings.

Where does this fit compared to other formats?

There are certainly other formats for saving graphs. One on end of the spectrum, you have 'visual' mechanisms for storing the graph such as PNGs or other bitmap formats. These formats guarantee an accurate representation of your graph, including perfect representation of the styling, however it does not contain the raw data. If you want to access the data later, you'll have to visually infer what the points are.

On the other end of the spectrum, you have the GrAF format. GrAF does not guarantee that the graph will look exactly the same; fonts, line sizes, etc can vary between platforms. However, the core promise of GrAF is that the key aspects of the graph for scientific communication will be retained. The data will be saved as a list of floats in a way that's easy to access, and formatting parameters critical to the visual language of data expression such as graph limits, line types and marker selection, will all be retained. In other words, the data will be accessible, the message of the graph will be preserved, and the formatting can be easily adjusted to match your needs of the day. You can open multiple graf files from previous publications and quickly restyle them to offer a cohesive theme for a new presentation. Or you can quickly merge the data from multiple plots into one, or change the plot type to better convey your point.

(Mention how SVG sits inbetween bitmaps and GrAF; preserves formatting kinda, is editable, but loses the data.) (Mention how Pickled figs are great in Python (perfect formatting and data!) but are complex to access due to their formatting sophistication and cannot easily be read in other languages ) (Mention how MATLAB figs are similar to Pklfigs in that they have perfect formatting and store data, but once again, are not easily cross platform and so complex quickly merging files is not trivial. )

(TODO: Add a function to spit out the X and Y data as variables in ipython and/or print to screen.)

The key promise of GrAF is that it will retain the graph data in a way that's easy to access

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

black_hole_gui-0.0.0.dev1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

black_hole_gui-0.0.0.dev1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file black_hole_gui-0.0.0.dev1.tar.gz.

File metadata

  • Download URL: black_hole_gui-0.0.0.dev1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.4

File hashes

Hashes for black_hole_gui-0.0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 0a329f65a59db0b07f44a96df9aa86519d208c00ea64f7b35c7ca3ed779c6857
MD5 a5a63000914f70b9d795423cb99c11d9
BLAKE2b-256 d28c5c77f4e6446a6be0000440d7de35bd5e7f4b0ad28288224bd412135fadb9

See more details on using hashes here.

File details

Details for the file black_hole_gui-0.0.0.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for black_hole_gui-0.0.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 f63b55a9c964629d7bb449a5b91704da28e382acbce8bb1d2b2d4bee0e0630b1
MD5 c6531382c37f0627840f26e02396ece3
BLAKE2b-256 2c6d94ccffb6eefe0c97d690f6d0b47804fdecf6333dc0d24329179cb1deac6d

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page