[Matplotlib-users] passing multiple path arguments to make_compound_path

2014-11-27 Thread Evan Mason
Hi, I have several path objects that I want to join together with make_compound_path. For example, with p1 and p2: In [136]: p1 Out[136]: Path(array([[-29.85721973, -30.], [-29.84752676, -29.77715877], [-29.88734508, -29.55431755], [-29.97470553, -29.33147632],

Re: [Matplotlib-users] passing multiple path arguments to make_compound_path

2014-11-27 Thread Francesco Montesano
Hi, put all them into a list ps = [p1, p2, ..., pn] and then unpack them path.Path.make_compound_path(*ps) Cheers, Fra ps: this is standard python unpacking 2014-11-27 18:12 GMT+01:00 Evan Mason evanma...@gmail.com: Hi, I have several path objects that I want to join together with