Code, debug, reuse this chart, workshop materials and more.
Project description
Chart Craft Hub
Home for "Code, debug, reuse this chart" workshop materials
"Code, debug, reuse this chart" will take place on 24th of March 2024 at 09:00 at Applied Machine Learning Days 2024 in Lausanne, Switzerland.
Installation
You can install the materials for the workshop from PyPI:
$ python3.12 -m venv .venv
$ souce .venv/bin/activate
$ python -m pip install chartcrafthub
The workshop materials are created with Python3.12.
How to use
To start the workshop, just import the chartcrafthub
package and follow the instructions:
(.venv) ~/d/K/ChartCraftHub ❯❯❯ python -m chartcrafthub
_____ _ _ _____ __ _ _ _ _
/ __ \ | | | / __ \ / _| | | | | | | |
| / \/ |__ __ _ _ __| |_ | / \/_ __ __ _| |_| |_ | |_| |_ _| |__
| | | '_ \ / _` | '__| __| | | | '__/ _` | _| __| | _ | | | | '_ \
| \__/\ | | | (_| | | | |_ | \__/\ | | (_| | | | |_ | | | | |_| | |_) |
\____/_| |_|\__,_|_| \__| \____/_| \__,_|_| \__| \_| |_/\__,_|_.__/
Thanks for attending "Code, debug, reuse this chart" workshop!
In this workshop, you'll learn how to:
✓ Craft visually compelling figures that enhance your document's overall appearance.
✓ Develop modular plotting functions utilizing matplotlib.
✓ Utilize Rich and debugging and method exploration.
✓ Organize your code for enhanced usability.
✓ Package your code for seamless portability.
To begin, visit the documentation home page: https://kislovskiy.github.io/ChartCraftHub/]
- Artem
Copy the great architectures. Edward Tufte
Getting started
There are three ways to follow this tutorial:
- Dev Containers if you have Docker and Visual Studio Code installed
- GitHub Codespaces if you don't want to install anything on your local machine
- Local installation if you are a fan of local development.
We recommend using Dev Containers or GitHub Codespaces to avoid any issues with the environment setup.
Dev Containers
To use it, you need to have Docker and Visual Studio Code installed. This project is configured to use devcontainer for development.
First, we need to install the Remote - Containers extension in VS Code. Then, open the project in VSCode and click on the green button in the bottom right corner of the window. This will open a new window in a container with all the necessary tools installed. It could take a few minutes to build the container for the first time.
Once the container is running, you'll see green "Dev Container" badge in the bottom left corner of the VSCode window. The development environment is ready to use. Since Docker provides an isolated environment, we don't need to create a virtual environment or install any dependencies on the host machine.
GitHub Codespaces
If you don't want to install anything on your local machine, you could use GitHub Codespaces throughout this tutorial. To use it, you need to have a GitHub account and a repository forked to your account. After that, you could open the repository in GitHub and click on the "Code" button in the top right corner of the page. Then, select "Open with Codespaces" from the dropdown menu. It could take a few minutes to create the environment for the first time.
Once the environment is ready, you'll see a new tab in your browser with the VSCode editor. The development environment is ready to use.
Local installation MacOS / Linux
If you prefer to use your local machine, you need to have Python 3.12 installed. Create a virtual environment and install the dependencies:
$ python3 -m pip venv .venv
$ source .venv/bin/activate
$ make install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for chartcrafthub-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aca78fb41e42d5b2082a692ce06a3c75ff18135375d2ec0e0fce65047582dc12 |
|
MD5 | bf4885bd1a5bbf608930572edbc08129 |
|
BLAKE2b-256 | d3fddd65591354fc089e47b9d510b7699fd8404806eed5f18226ff7ab88b313b |