# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# # ASCII plotting
#
# **Note: For this notebook to work properly, you need to install the `asciiplotlib` and `xtermcolor` packages.**

# +
from physt import examples
from physt import plotting
plotting.set_default_backend("ascii")

import numpy as np
np.random.seed(42)
# -

examples.normal_h1().plot()

plotting.ascii.ENABLE_ASCIIPLOTLIB = False
examples.normal_h1().plot(show_values=True)

examples.normal_h2().plot(cmap='Greys_r')

StarcoderdataJupyterScriptsDedupFiltered