View Code? Open in Web Editor
NEW
Workshop materials for "Code, debug, reuse this chart" @AMLD 2024
Home Page: https://kislovskiy.github.io/ChartCraftHub/
License: MIT License
Makefile 0.06%
Python 1.98%
Jupyter Notebook 97.87%
HTML 0.09%
chartcrafthub's Introduction
๐ซ How to reach me: echo "a2lzbG92c2tpeUBwcm90b24ubWUK" | base64 -d
chartcrafthub's People
Contributors
Watchers
chartcrafthub's Issues
Provide more directed guidance in the beginning to set the environment and detailed instructions for completing the first exercise.
Add a better description of the chartcrafthub
package and why people need to install it.
The workshop description should mention that it is for people with experience with Python, Matplotlib, or any other visualization library.
Hi @Kislovskiy
Here is the solution I found for the font issue (RobotoMono not being installed in the dev container).
In a terminal inside the contained we need to:
Install the fonts
sudo wget --content-disposition -P /usr/share/fonts/truetype/robotomono https://github.com/googlefonts/RobotoMono/raw/main/fonts/ttf/RobotoMono-{Bold,BoldItalic,Italic,Light,LightItalic,Medium,MediumItalic,Regular,Thin,ThinItalic}.ttf? raw=true
Rebuild the Linux font cache:
sudo apt-get update && \
sudo apt install fontconfig && \
fc-cache -fv
Delete the matplotlib font cache and re-import mpl to rebuilt it:
rm .cache/matplotlib/ -rf
Most probably step 1 could somehow be replaced by copying the exact same font from the local repo into the dev container. Also Step 3 might not be necessary if the dev container is built with the font before being started.