fossasia / visdom

A flexible tool for creating, organizing, and sharing visualizations of live, rich data. Supports Torch and Numpy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Draw multiple subgraphs of histogram

luokang6 opened this issue · comments

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 ?

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