In [1]:
import sys
sys.path.append('./../../')

from pyogi.board import *

In [2]:
board = Board()
board.set_initial_state()
board.players = ['先手の人', '後手の人']

moves = ['+7776FU', '-3334FU', '+2726FU', '-4132KI', '+6978KI']

for move in moves:
    board.move(move)
    
board.plot_state_mpl(title='5手目: ☗7八金まで', savepath='example_mpl.png')



In [3]:
%load_ext version_information
%version_information matplotlib


Out[3]:
SoftwareVersion
Python3.4.2 64bit [GCC 4.8.2]
IPython2.4.1
OSLinux 3.13.0 58 generic x86_64 with debian jessie sid
matplotlib1.4.3
Tue Jul 28 23:19:54 2015 JST