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

Draw multiple subgraphs of histogram #867

Open
luokang6 opened this issue Sep 23, 2022 · 1 comment
Open

Draw multiple subgraphs of histogram #867

luokang6 opened this issue Sep 23, 2022 · 1 comment

Comments

@luokang6
Copy link

luokang6 commented Sep 23, 2022

I want to draw multiple subgraphs (e.g., (3, 3)) of histogram with using vis.histogram.
Could it output a histogram with uing vis.histogram to plt.subplots(3, 3) for drawing multiple subgraphs (e.g., (3, 3))?
Or Visdom comes with a function that draws multiple subgraphs of histogram ?

@da-h
Copy link
Contributor

da-h commented Sep 23, 2022

Hey there,

something like matplotlib-subgraphs are currently not included in visdom.

The current way to go for multiple plots side-by-side is probably to either

  • create multiple plots that are then placed near each other on the screen, or,
  • add the 9 histograms into a single histogram-plot (see examples), or,
  • create (vector-)images of the plot using tools like matplotlib and showing them using vis.svg or vis.image, especially in case you really need this exact functionality. I am not sure if vis.image is capable of showing pdfs, but I feel that this indeed could be something visdom would like to have implemented as well someday. (Please open a new issue if pdf-support is something you would like to have implemented).

Note: True matplotlib-support is also on the roadmap (see #119), but not yet implemented. However, there are also some ideas how to accomplish matplotlib-support in your project using low-level visdom-methods.

Best,
da-h

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