MCPcopy Index your code
hub / github.com/spotify/chartify / plot_text

Function plot_text

chartify/examples.py:219–231  ·  view source on GitHub ↗

Text example

()

Source from the content-addressed store, hash-verified

217
218@_print_source
219def plot_text():
220 """
221 Text example
222 """
223 import chartify
224
225 data = chartify.examples.example_data()
226
227 # Manipulate the data
228 price_and_quantity_by_country = data.groupby("country")[["total_price", "quantity"]].sum().reset_index()
229 print(price_and_quantity_by_country.head())
230 """Print break"""
231 _text_example_1(price_and_quantity_by_country)
232
233
234@_print_source

Callers

nothing calls this directly

Calls 1

_text_example_1Function · 0.85

Tested by

no test coverage detected