I turns out the script was broken. You can get the fixed version by downloading the latest development version. See http://sumo.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version
Thank you for reporting the problem. regards, Jakob 2016-01-08 12:48 GMT+01:00 Jakob Erdmann <[email protected]>: > Possibly your python and matplotlib versions do not match. > > 2016-01-08 11:49 GMT+01:00 Pyatkova, Katya <[email protected]>: > >> Dear SUMO community, >> >> Happy new 2016! >> >> I am experiencing problems while trying to visualise aggregated edge >> states on a map. I am using plot_net_dump.py and I have made sure 1) I have >> set <SUMO_HOME> for sumo-0.23.0; 2) I have installed matplotlib and Python. >> The command in cmd I am using is very similar to the one in the examples in >> http://sumo.dlr.de/wiki/Tools/Visualization . >> >> The traceback I am getting is: >> >> File "plot_net_dump.py", line 199, in <module> >> sys.exit(main(sys.argv)) >> File "plot_net_dump.py", line 178, in <module> >> sm = matplotlib.cm.ScalarMappable(cmap=get_cmap( >> NameError: global name 'matplotlib' is not defined >> >> Any suggestions what I might be doing wrong? >> >> I apologise if this is a common problem, but I couldn't find anything >> relevant in the mailing lists. >> >> Needless to say, any help will be greatly appreciated! >> >> Best regards, >> >> Katya Pyatkova >> MSc, PhD Student >> Centre for Water Systems >> College of Engineering, Mathematics and Physical Sciences (CEMPS) >> University of Exeter, North Park Road, Exeter EX4 4QF, United Kingdom >> [email protected]<mailto:[email protected]>, +44 (0) 7598 >> 659122<tel:%2B44%20%280%29%207598%20659122> >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > > ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
