Skip to content

Trouble with Cartopy + travis CI #444

@briochemc

Description

@briochemc

I have been able to locally use python's Cartopy to plot nice maps from Julia via, e.g.,

using Conda; Conda.add("Cartopy")
using PyPlot, PyCall
ccrs = pyimport("cartopy.crs")
ax = subplot(projection=ccrs.Robinson())
ax.set_global()
ax.stock_img()
ax.coastlines()

(extracted from this gist — I don't even know if that's the recommended way.)

However, I have not been able to run such code via Travis CI. (I am trying to generate and deploy documentation that uses Cartopy.) I have tried a few different things, but without success, with every build either failing to find python, matplotlib, or cartopy. So here is my request:

Could I get some help in setting up a MWE of a Cartopy plot run in Julia by Travis CI?

Such a MWE could appear in PyPlot's Readme, and its output image be part of this list of PyPlot examples, or if one could use Cartopy from Plots.jl's pyplot backend, it could be added to the pyplot-backend examples. Maybe this is all trivial to some of you but it would go a long way to help newbs like me! 😅

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions