O'Reilly logo

IPython Interactive Computing and Visualization Cookbook by Cyrille Rossant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Graphs, Geometry, and Geographic Information Systems

In this chapter, we will cover the following topics:

  • Manipulating and visualizing graphs with NetworkX
  • Analyzing a social network with NetworkX
  • Resolving dependencies in a Directed Acyclic Graph with a topological sort
  • Computing connected components in an image
  • Computing the Voronoi diagram of a set of points
  • Manipulating geospatial data with Shapely and basemap
  • Creating a route planner for a road network

Introduction

In this chapter, we will cover Python's capabilities in graph theory, geometry, and geography.

Graphs are mathematical objects describing relations between items. They are ubiquitous in science and engineering, as they can represent many kinds of real-world relations: friends ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required