# Revision history [back]

### How to plot histogram from list?

Given a list of numbers, such as [5,3,6,1,...], how can I create a histogram from them and show it directly in the notebook interface?

Given a list of pairs, such as [[2,3], [4,5], ...], how can I create a 2D histogram form them and show it as a histogram similar to this? (I.e. clearly distinguish zero counts from small non-zero counts.)

### How to plot histogram from list?

Given a list of numbers, such as [5,3,6,1,...], how can I create a histogram from them and show it directly in the notebook interface?

Given a list of pairs, such as [[2,3], [4,5], ...], how can I create a 2D histogram form them and show it as a histogram plot similar to this? (I.e. clearly distinguish zero counts from small non-zero counts.)counts, and show it as a matrix plot, not as a 3D bar chart.)

### How to plot histogram from list?

Given a list of numbers, such as [5,3,6,1,...], how can I create a histogram from them and show it directly in the notebook interface?

Clarification: 5, 3, 6, 1, ... should not be used for the heights of bars. Instead, the data should be binned first to create a histogram.

Given a list of pairs, such as [[2,3], [4,5], ...], how can I create a 2D histogram form them and show it as a plot similar to this? (I.e. clearly distinguish zero counts from small non-zero counts, and show it as a matrix plot, not as a 3D bar chart.)

Clarification: How can I use a colour scheme in matrix_plot that will clearly differentiate between zero and non-zero values? E.g. use white for zero and some colour gradient for non-zero. 0 and 0.0001 should show clearly differently. How do I achieve this with the cmap parameter?

This is not for statistics and I would prefer to avoid R if possible ... these are the only types of plots I need.

### How to plot histogram from list?

Given a list of numbers, such as [5,3,6,1,...], how can I create a histogram from them and show it directly in the notebook interface?

Clarification: 5, 3, 6, 1, ... should not be used for the heights of bars. Instead, the data should be binned first to create a histogram.

Given a list of pairs, such as [[2,3], [4,5], ...], how can I create a 2D histogram form them and show it as a plot similar to this? (I.e. clearly distinguish zero counts from small non-zero counts, and show it as a matrix plot, not as a 3D bar chart.)

Clarification: How can I use a colour scheme in matrix_plot that will clearly differentiate between zero and non-zero values? E.g. use white for zero and some colour gradient for non-zero. 0 and 0.0001 should show clearly differently. How do I achieve this with the cmap parameter?

This is not for statistics and I would prefer to avoid R if possible ... these are the only types of plots I need.