More actions
Mednik Breau (talk | contribs) This file was produced by the following code: <code><nowiki> import matplotlib.pyplot as plt from matplotlib.ticker import FuncFormatter # Data points player_count = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] isk_payout = [6000000, 7800000, 10140000, 13182000, 17136600, 11424400, 7616266, 5077511, 3385007, 2256671] # Formatter function for y-axis def millions(x, pos): return f'{int(x):,}' # Create the plot plt.figure(figsize=(10, 6)) plt.plot(player_count, isk_payout, marker='o', linestyle='-', c... |
m "Reformat" the code. |
||
| Line 1: | Line 1: | ||
== Summary == | == Summary == | ||
This file was produced by the following code: | This file was produced by the following code: | ||
< | <pre><nowiki> | ||
import matplotlib.pyplot as plt | import matplotlib.pyplot as plt | ||
from matplotlib.ticker import FuncFormatter | from matplotlib.ticker import FuncFormatter | ||
| Line 38: | Line 38: | ||
# Show the plot | # Show the plot | ||
plt.show() | plt.show() | ||
</nowiki></ | </nowiki></pre> | ||
[[Category:Game mechanics]] | [[Category:Game mechanics]] | ||
[[Category:Homefront operation]] | [[Category:Homefront operation]] | ||