old_contents: #!/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.move('-2288UM')
      board.move('+7988GI')
  
      board.plot_state_mpl(title='角交換四間飛車 (☗８八銀まで)',
                           savepath='kk4.png')
  
new_contents: #!/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.move('-2288UM')
      board.move('+7988GI')
  
  
      print(board)
      board.plot_state_mpl(title='角交換四間飛車 (☗８八銀まで)',
                           savepath='kk4.png')
  
subject: Add output of cui mode to demo_plot_state_mpl.py