Code Monkey home page Code Monkey logo

speck's People

Contributors

lucashadfield avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

speck's Issues

Name errors

Hi,

I am very excited about this image edition app.
It works really well, but the code for image 4 and 6 generates these name errors, such as:

NameError: name 'GradientColour' is not defined # image 4
NameError: name 'GreyscaleMeanColour' is not defined # image 6
NameError: name 'LineUnionModifier' is not defined # image 9

I am using google colab.
Any advice?

Thanks in advance, JL

Memory error for basic example

Hi, I tried to run the basic example and it threw a memory error.
Full trace:

Traceback (most recent call last):
  File "/image.py", line 8, in <module>
    colour=CmapColour('Oranges')
  File "\Python\Python36-32\lib\site-packages\speck\draw.py", line 234, in draw
    y = self._y(weights, weight_clipping, skip)
  File "\Python\Python36-32\lib\site-packages\speck\draw.py", line 163, in _y
    - y_offset
MemoryError

AttributeError

Hi,

I found this AttributeError when I try to run on google colaboratory after installing speck-0.2.0
pip install speck
Installing collected packages: speck
Successfully installed speck-0.2.0

import speck
File` "/usr/local/lib/python3.6/dist-packages/speck/matcher.py", line 33
raise AttributeError, "No matcher found for '%s'" % name
^
SyntaxError: invalid syntax

Any advice to fix it?

Thanks in advance, JL

ask for advice

hello, what an interesting show!
I try to use your code like this:

1

The raw input and the output like below:

input:

233464

output:

res

I don't know why there is a blank in the middle of the output image. I hope to get your answer,thanks

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.