-
取得字體 (e.g.
Droid-Sans-Fallback.ttf
) 放到<venv>/lib/python3.8/site-packages/matplotlib/mpl-data/fonts/ttf/
-
編輯
<venv>/lib/python3.8/site-packages/matplotlib/mpl-data/matplotlibrc:257
反註解兩行,把字體名稱加上去,注意到
Droid-Sans-Fallback
的-
要用- #font.family: sans-serif + font.family: sans-serif #font.style: normal #font.variant: normal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""langfuse < 3""" | |
import asyncio | |
from uuid import uuid4 | |
import litellm | |
from litellm import acompletion, aembedding, completion, embedding | |
from rich import print | |
litellm.callbacks = ["langfuse"] |
Design docs are a way to propose future work and get detailed technical feedback.
Brief description of what the problem or opportunity is. Give an overview of the domain and pain points. What is the current solution? Give some details about what its shortcomings are.