jeanbigboute | 17 Nov 09:13 2014
Picon

Saving an equation as a PNG or JPG?

I'd love to be able to save a sympy LaTeX-ified result as an image file to export into other documents.  In my business I have to create Powerpoint and am trying python-pptx for this.  It allows incorporating images programmatically.  

I've searched the sympy documentation and other sources but surprisingly have not found anything for equations.  I believe that plots can be saved.  I'm sure I've missed something.

Suggestions greatly appreciated.

--- JBB

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/7cd0ae38-1097-4f7b-b3f8-19780965a217%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Akshat Jain | 16 Nov 15:08 2014
Picon

fixes #8239

This is in reference to issue #8239
I am new. I submitted my first  patch but Travic Ci gave "This branch has failed checks, but can be merged." ? What does this mean? Is it accepted or rejected?
Or what changes should I make?

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/93eb19c0-fa1a-489d-841e-3867ea3faaba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Amit Saha | 15 Nov 02:05 2014
Picon

SymPy geometric objects and matplotlib animation API

Hi all,

Has anyone here played around with SymPy geometric objects (i.e. used
the Point, Circle and other classes) and used matplotlib animation API
to create animated plots (instead of using matplotlib's patches)? If
yes, I would be very keen to learn more.

Thanks,
Amit.

-- 
http://echorand.me

--

-- 
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe@...
To post to this group, send email to sympy@...
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CANODV3mEFNYBik2w8oaLZeEi7h9E5DPOmpNvfjY7fx3PDdbtOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Aaron Meurer | 13 Nov 23:47 2014
Picon

SymPy 0.7.6 release candidate 2

I have uploaded a second release candidate for SymPy 0.7.6. Please download and test it. You can find it at https://github.com/sympy/sympy/releases/tag/sympy-0.7.6.rc2

Please report any issues that you find, or if you find no issues, please report that you tested it.  Assuming there are no major issues I will do the final release within a week. 

The release notes for this release are at
https://github.com/sympy/sympy/wiki/release-notes-for-0.7.6. If you
see anything that is missing from that page, please add it.

Aaron Meurer

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6JfhVV%3Dn2vSyKRhRjuHQs0Ev6M1qdQDpE2UDaEmws68QQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Akshat Jain | 13 Nov 20:58 2014
Picon

Derivative function

What does this means? 'Differentiate wrt x as long as x is not in the free symbols of any of
the upper or lower limits.' What are free symbols?

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/6f9536f4-f2bf-4dc8-bb6a-7a72a8a9e018%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Amit Saha | 13 Nov 03:21 2014
Picon

Run sympy tests in Docker

Just something I experimented with and it seems to be working. If
someone uses Docker:
https://github.com/amitsaha/docker_files/tree/master/Fedora/sympy-test

So you can do:
docker run -t sympy-test 0.7.6

to run the entire test suite in the 0.7.6 branch

-Amit.

--

-- 
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe@...
To post to this group, send email to sympy@...
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CANODV3knxs58%3DjdsUmr2zEj0wFv4EADQR30bx8%2BaYxDg0TB3Jw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

David Li | 12 Nov 23:50 2014
Picon

Helping people contribute to SymPy at Cornell

Hello all,

This is a bit late notice, but at Cornell we're having an open-source workshop on Saturday, and the organizers are interested in introducing people to contributing to SymPy. I was thinking the Easy to Fix and Documentation (and perhaps Needs Review) labels in the issue tracker would be the best starting place? Are there any other suggestions for what people could do? The students would have anything from a semester's experience with Python to potentially several years. Introducing and explaining SymPy itself would be important - I think the tutorial + Gamma would be good ways to do this. The organizers are teaching IRC/Git/Github beforehand.

Thanks,
David

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/e34e0fe4-26f2-44a4-825c-43bd8112f35e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ali.baharev | 11 Nov 22:52 2014
Picon

How can I prevent solve from doing potentially unsafe operations?

When I execute the following code:

  x, y, z = symbols('x y z')
  solve(z-x*y, x)


I get:
 
  [z/y]

That's OK. Can I somehow inform solve that y may be zero, so unless I specifically say, e.g. 

    y=Symbol('y', positive=True)

just report that it couldn't solve the equation for x?

Any help is greatly appreciated.

Ali

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/e2458f53-7978-46b6-b440-49d09573fce9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Andrew Spielberg | 10 Nov 22:58 2014
Picon

Arbitrary constraints?

Hi all,

When creating variables, I know you can provide certain constraints on the domain of that variable.  For instance, one could say that a certain variable, x, is positive, real, rational, etc.  These constraints affect the way the simplify function behaves.

I am wondering, without creating auxiliary variables, can add other constraints?  For example, if I have a variable x that always must be greater than another variable y, can I specify:

x > y

in some way, and have the simplifier intelligently know how to handle it?  I know I could change my representation to be a = (x - y) and do everything in terms of my variable a, and set a positive, but this is less than ideal and will not work in a lot of my cases.

If there is no way to set these assumptions, is there some other recommended way to do intelligent simplification in some way?

-Andy S.

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/80f87d8d-1504-40f6-b6d4-efb08cdcc824%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Amir Farbin | 10 Nov 18:54 2014
Picon

sympy to theano conversion failure for complex expressions

Hi,


I'm trying to convert expressions sympy to theano... following:


http://matthewrocklin.com/blog/work/2013/03/28/SymPy-Theano-part-2/


And I run into a failure that appears simple to fix. Here's a simple example:


from sympy.printing.theanocode import theano_function


im=sp.sqrt(-1)

x=sp.symbols("x")

y=x+im*x

fn_theano  = theano_function([x], [y], dims={x: 1}, dtypes={x: 'float64'})


ends with:


KeyError: <class 'sympy.core.numbers.ImaginaryUnit'>


which appears to my naive eyes to be a just a missing entry in a conversion map. Can someone help? 


Thanks,

Amir

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/51a1c550-0c33-456b-94c0-9fc433010917%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Deepanshu Vijay | 10 Nov 10:55 2014
Picon

New to the Organization

Hey, I am a newbie to the Open Source and this Organization. I know coding languages like Python, and C.
In Web Development , I know HTML, CSS, javscript, jquery, MySQL.
Can you let me know some easy bug so that I can start my journey with the aim to contribute my share in the Open Source world.

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/61715980-4a4a-44e7-a7cb-7348537d31ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gmane