Today I upgraded to ArcGIS Desktop 10.2.2 as well as the 64-bit background processing tool and noticed that both numpy and matplotlib were installed with Python. In fact, in the "What's New?" section for 10.2.1, it states:
ArcGIS 10.2.1 has been upgraded to include Python 2.7.5. Third-party Python libraries have also been upgraded: NumPy has been upgraded to 1.7.1 and matplotlib to 1.3.0.
I understand that there are a number of tools in ArcGIS which use numpy such as:
as well as a number of tools in the Data Access Module .
Do any of the tools in ArcGIS directly utilise the matplotlib module, and if so, which ones? Or is it installed just in case people want to make better looking charts and graphs, etc. than are possible in ArcMap?
-
+1 anothergisblog.blogspot.com.au/2012/10/… suggests it may be the latterPolyGeo– PolyGeo ♦2014年07月08日 01:32:26 +00:00Commented Jul 8, 2014 at 1:32
-
3@PolyGeo No. We only bundle third-party libraries if they provide some value/functionality to core GP tools. It's a lot of paperwork to include a Python library, we need a lot of justification to do so.Jason Scheirer– Jason Scheirer2014年07月08日 02:35:15 +00:00Commented Jul 8, 2014 at 2:35
-
@JasonScheirer That makes sense - your input is appreciatedPolyGeo– PolyGeo ♦2014年07月08日 02:38:58 +00:00Commented Jul 8, 2014 at 2:38
1 Answer 1
Yes, some of the tools use matplotlib.
For example (in my 10.1 install):
Multi-Distance Spatial Cluster Analysis (Ripleys K Function)
<ArcGIS install folder>\ArcToolbox\Scripts\KFunction.py
Incremental Spatial Autocorrelation (Moran's I)
<ArcGIS install folder>\ArcToolbox\Scripts\MoransI_Increment.py
Ordinary Least Squares
<ArcGIS install folder>ArcToolbox\Scripts\OLS.py
Group Similar Features
<ArcGIS install folder>ArcToolbox\Scripts\Partition.py
- matplotlib is also used in
<ArcGIS install folder>ArcToolbox\Scripts\SSReport.py
which is a module that contains "Reporting Functions for ESRI Script Tools as well as users for their own scripts."
Paraphrasing Jason Scheirer's comment - third-party Python libraries (such as matplotlib) may be included with reservations, and only if they are essential (ie core tools depend on them). ESRI don't want to bloat the installation footprint or freeze users on a particular version of a Python library unless they absolutely have to.
-
6Yes. We include third-party Python libraries with reservations, and only if they are essential (ie core tools depend on them). We don't want to bloat the installation footprint or freeze users on a particular version of a Python library unless we absolutely have to.Jason Scheirer– Jason Scheirer2014年07月08日 02:37:11 +00:00Commented Jul 8, 2014 at 2:37
-
1It just backs up your answer, though. You're free to edit your answer with those details. You even did the due diligence I would not have with explaining which tools used it.Jason Scheirer– Jason Scheirer2014年07月08日 02:41:49 +00:00Commented Jul 8, 2014 at 2:41
Explore related questions
See similar questions with these tags.