Traceback (most recent call last):


 "C:\Apps\Sublime\sublime_plugin.py", line 521, in on_selection_modified_async

callback.on_selection_modified_async(v)


 "C:\Apps\Sublime\Data\Packages\SublimeLinter\sublime_linter.py", line 125, in on_selection_modified_async

self.display_errors(view)


 "C:\Apps\Sublime\Data\Packages\SublimeLinter\sublime_linter.py", line 391, in display_errors

view = util.get_focused_view(view)


 "C:\Apps\Sublime\Data\Packages\SublimeLinter\lint\util.py", line 109, in get_focused_view

active_view = get_active_view(view)


 "C:\Apps\Sublime\Data\Packages\SublimeLinter\lint\util.py", line 96, in get_active_view

return view.window().active_view()
AttributeError: 'NoneType' object has no attribute 'active_view'

Traceback (most recent call last):


 "test.py", line 22, in <module>

fig.draw(fig.canvas.get_renderer())
# works!


 "---\Miniconda3\lib\site-packages\matplotlib\artist.py", line 41, in draw_wrapper

return draw(artist, renderer, *args, **kwargs)


 "---\Miniconda3\lib\site-packages\matplotlib\figure.py", line 1862, in draw

self.patch.draw(renderer)


 "---\Miniconda3\lib\site-packages\matplotlib\artist.py", line 41, in draw_wrapper

return draw(artist, renderer, *args, **kwargs)


 "---\Miniconda3\lib\site-packages\matplotlib\patches.py", line 587, in draw

draw_path(tpath, affine,


 "---\Miniconda3\lib\site-packages\matplotlib\backends\backend_pgf.py", line 475, in draw_path

writeln(self.fh, r"\begin{pgfscope}")


 "---\Miniconda3\lib\site-packages\matplotlib\backends\backend_pgf.py", line 129, in writeln

fh.write(line)
AttributeError: 'NoneType' object has no attribute 'write'
