File:Matplotlib histogram v.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(SVG file, nominally 720 × 540 pixels, file size: 19 KB)

Summary

Description
English: svg version of Matplotlib histogram.png.
Date
Source Own work
Author IkamusumeFan
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

#!/usr/bin/env python
 
"""This generates the histogram of 200 normal distributed samples."""
# Author: Ika. 2015-08-08
 
import matplotlib.pyplot as plt
import numpy as np
from numpy.random import normal

x = normal(size=200)
plt.hist(x, bins=30)

plt.savefig("matplotlib_histogram.svg")

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

8 August 2015

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current05:51, 8 August 2015Thumbnail for version as of 05:51, 8 August 2015720 × 540 (19 KB)IkamusumeFanUser created page with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

Metadata