Fix bug related with default name when using matplotlib

Close #109.