#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''
demo using pyogi.board.plot_state_mpl()
'''

import sys
sys.path.append('./../../')

from pyogi.board import *


if __name__ == '__main__':
    board = Board()
    board.set_initial_state()

    board.move('+7776FU')
    board.move('-3334FU')
    board.move('+2868HI')

    board.plot_state_mpl(title='角交換四間飛車')

@@ -312,16 +312,68 @@
 2868HI')
+%0A    board.move('-2288UM')%0A    board.move('+7988GI')
 %0A%0A    bo
@@ -405,11 +405,20 @@
 '%E8%A7%92%E4%BA%A4%E6%8F%9B%E5%9B%9B%E9%96%93%E9%A3%9B%E8%BB%8A
+ (%E2%98%97%EF%BC%98%E5%85%AB%E9%8A%80%E3%81%BE%E3%81%A7)
 ')%0A

add additional move & title to demo_plot_state_mpl.py