Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix plot with custom axes? #214

Open
henryiii opened this issue Oct 6, 2024 · 3 comments
Open

Matrix plot with custom axes? #214

henryiii opened this issue Oct 6, 2024 · 3 comments

Comments

@henryiii
Copy link
Contributor

henryiii commented Oct 6, 2024

Hi,

Is it possible to do a matrix plot with custom axes? That is, if I am plotting a 2d histogram (like I would with imshow or pcolormesh in matplotlib), matrix_plot looks close to what I want, but it doesn't show my axes, just integers counting by bin. image_plot doesn't have axes. Am I missing something, or is this something that could be added (say to matrix_plot)?

@piccolomo
Copy link
Owner

Hi @henryiii,

thanks for the message.

Would heatmap() help?

Thanks
Savino

@henryiii
Copy link
Contributor Author

henryiii commented Oct 6, 2024

That's a discrete axis. I was looking for a continuous axis showing data coordinates, much like matrix_plot already does, except the coordinates seem to only be bin coordinates. Like the plot at the bottom of https://boost-histogram.readthedocs.io/en/latest/user-guide/quickstart.html.

@piccolomo
Copy link
Owner

piccolomo commented Oct 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants