removed pyplot require.