Coder Social home page Coder Social logo

descartes's People

Contributors

ammannc avatar kbarnhart avatar sgillies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

descartes's Issues

Migration of descartes to github

@sgillies and @benjimin, is it possible to get this formally migrated to github to help foster collaboration with users familiar with the standard pydata workflow? I haven't used bitbucket too much and am not familiar with its advantages.

Statement of future plans?

Shapely still uses descartes to build its documentation, but the python-descartes package is at risk of being retired in Fedora Linux due to https://bugzilla.redhat.com/show_bug.cgi?id=1907389. I am trying to figure out if there is still an upstream.

Since the old bitbucket site is now only a memory, are there any plans to continue maintaining descartes, here or elsewhere? Or have the authors (understandably) moved on?

Update for Shapely 2.0

Today Shapely released a 2.0 version and my CI picked up a failure related to this.

If you pip3 install shapely==2.0.0 and then run something like the following, you can reproduce the issue:

>>> from shapely import Polygon
>>> from descartes.patch import PolygonPatch

>>> poly = Polygon(((0., 0.), (0., 1.), (1., 1.), (1., 0.), (0., 0.)))
>>> patch = PolygonPatch(poly)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sebastian/python-virtualenvs/pyrobosim/lib/python3.10/site-packages/descartes/patch.py", line 87, in PolygonPatch
    return PathPatch(PolygonPath(polygon), **kwargs)
  File "/home/sebastian/python-virtualenvs/pyrobosim/lib/python3.10/site-packages/descartes/patch.py", line 62, in PolygonPath
    vertices = concatenate([
  File "/home/sebastian/python-virtualenvs/pyrobosim/lib/python3.10/site-packages/descartes/patch.py", line 63, in <listcomp>
    concatenate([asarray(t.exterior)[:, :2]] +
IndexError: too many indices for array: array is 0-dimensional, but 2 were indexed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.