Address comments from pull request

The following minor changes took place
    - print -> parser.error, when there's a problem replacing the
      magnified figure with the non-magnified figure.
    - re-indent a line that did not have the proper indentation.