Commit f42709c3 by Ethan Mertz

cleaning up repo

parent 538589d1
Showing with 1 additions and 18 deletions
......@@ -13,11 +13,9 @@ Python subdirectory: Contains the files used for our final Python analysis
-topvariables.py: Computes the least unique variable names.
-topvariables_intersection.py: Checks which variable files have the largest mean number of common variables with other files.
histogram.py: Used to construct the histograms for the report.
index.py: Creates the index file of tuples for the MapReduce jobs. Methodology detailed in the report.
plot_graph.py: Used to create the distance plot in the report.
plot_graph.py: Used to create the distance plot and histograms for the report.
runsim.sh: Used to send specific files for subset testing when there are other files in the directory so sending the entire directory is inefficient.
......
import matplotlib.pyplot as plt
import numpy as np
import plotly.plotly as py # tools to communicate with Plotly's server
import plotly
plotly.tools.set_credentials_file(username='ravibakhai', api_key='IBBKlxSe6zkg0osw8RFz')
'''
Takes a list of integers and outputs a histogram
'''
numpy_hist = plt.figure()
plt.hist([1, 2, 1], bins=[0, 1, 2, 3])
plot_url = py.plot_mpl(numpy_hist, filename='numpy-bins')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment