[matplotlib-devel] [PATCH 0/2] remove unused code

2015-04-19 Thread Kelvin Li
First ever patch submission. Here I propose cleaning up some unused variables and imports. Kelvin Li (2): remove unused variable "cmd_split" backends: remove unnecessary import statements lib/matplotlib/backends/backend_agg.py | 2 -- lib/matplotlib/backends/backen

[matplotlib-devel] [PATCH 1/2] remove unused variable "cmd_split"

2015-04-19 Thread Kelvin Li
--- lib/matplotlib/backends/backend_ps.py | 3 --- lib/matplotlib/texmanager.py | 6 -- 2 files changed, 9 deletions(-) diff --git a/lib/matplotlib/backends/backend_ps.py b/lib/matplotlib/backends/backend_ps.py index cea707d..699d1ba 100644 --- a/lib/matplotlib/backends/backend_ps.p

[matplotlib-devel] [PATCH 2/2] backends: remove unnecessary import statements

2015-04-19 Thread Kelvin Li
--- lib/matplotlib/backends/backend_agg.py | 2 -- lib/matplotlib/backends/backend_cairo.py | 5 ++-- lib/matplotlib/backends/backend_gdk.py | 9 --- lib/matplotlib/backends/backend_gtk.py | 7 +++-- lib/matplotlib/backends/backend_gtk3agg.py | 1 - lib/m