{%- extends 'python.tpl' -%}
{% block in_prompt %}{% endblock in_prompt %}
{% block input %}{{ cell.source | ipython2python }}
{% endblock input %}
{% block header %}# coding: utf-8
{% endblock header %}

{%- extends 'python.tpl' -%}
{% block in_prompt %}{% endblock in_prompt %}
{% block input %}{{ cell.source | replace('%matplotlib inline', '') | ipython2python }}
{% endblock input %}
{% block header %}# coding: utf-8
{% endblock header %}

Fix making scripts from notebooks set to inline.
Fix making scripts from notebooks set to inline.

Just remove those lines.
