Assassin's Creed IV: Black Flag
2013年のゲーム。
import matplotlib.pyplot as plt items_to_plot = [ ('Anne Bonny', 1697, 1782), ('Bartholomew Roberts', 1682, 1722), ('Benjamin Hornigold', 1680, 1719), ('Blackbeard', 1680, 1718), ('Calico Jack (John Rackham)', 1682, 1720), ('Charles Vane', 1680, 1721), ('John Cockram', 1689, 1719), ('Josiah Burgess', 1689, 1719), ('Laureano de Torres y Ayala', 1645, 1722), ('Lawrence Prince', 1630, 1717), ('Mary Read', 1685, 1721), ('Stede Bonnet', 1688, 1718), ('The Republic of Pirates', 1706, 1718), ('William Kidd', 1655, 1701), ('Woodes Rogers', 1679, 1732), ] for i, item in enumerate(items_to_plot): label, begin, end = item x = [i, i] y = [begin, end] plt.plot(x, y, label=label, linewidth=4) plt.legend() plt.xticks([]) plt.savefig('png.png') plt.show()