Skip to content

matplotlib's histogram do not trigger units #12

@mocquin

Description

@mocquin

We would expect the unit to be display on the x-axis of the histogram :

import numpy as np
from physipy import m
import matplotlib.pyplot as plt

from physipy import setup_matplotlib
setup_matplotlib()

arr = np.random.normal(1, 0.1, size=100)*m
plt.hist(arr)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions