Anonymous user
Matplotlib: Difference between revisions
no edit summary
imported>Jesstess |
imported>Jesstess No edit summary |
||
Line 166:
</li>
</ul>
==Bonus exercises==
Line 180 ⟶ 181:
## On line 44, we use <code>pyplot.bar</code> instead of our usual <code>pyplot.plot</code>. What are the 3 arguments passed to <code>pyplot.bar</code>?
# We've included a mystery text file <code>mystery.txt</code>: an excerpt from an actual novel. Alter <code>constitution.py</code> to process the data in <code>mystery.txt</code> instead of <code>constitution.txt</code>, and re-run the script. What do you notice that is odd about this file? You can read more about this odd novel [http://en.wikipedia.org/wiki/Gadsby_(novel) here].
=== 2. Tour the matplotlib gallery ===
|