New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plot_surface and transposed arrays #1838
Comments
On Wed, Mar 20, 2013 at 7:19 AM, micfe03 notifications@github.com wrote:
|
I installed the version that was most recent in autumn 2012. It says: In [149]: ? plt I could not find any old issue on the problem, so I assumed that it was On 3/20/13 2:52 PM, "Benjamin Root" notifications@github.com wrote:
|
On Wed, Mar 20, 2013 at 9:56 AM, micfe03 notifications@github.com wrote:
|
Actually, just realized I screwed up my own example... I can not reproduce your issue. Could you provide a short example to demonstrate it. |
Here you go. If you want to see the scrambled plot, you have to replace Z with On 3/20/13 4:44 PM, "Benjamin Root" notifications@github.com wrote:
|
nothing attached. I think you need to paste the code in the text because github strips out attachments, I think. |
Hi, I sent this yesterday from my mobile, but I think it could not handle the Sorry, did not know that. Here is the code: import numpy as np On 3/20/13 5:13 PM, "Benjamin Root" notifications@github.com wrote:
|
I was only able to reproduce your problem with matplotlib v1.1.x. With v1.2.x and above, the patch that I mentioned earlier catches these sorts of issues and raises an exception saying that the arrays have incompatible dimensions. Somehow, you are running a different version of matplotlib than you think. Try putting in a "import matplotlib; print matplotlib.version" line in your code to make certain. |
In [18]: import matplotlib; print matplotlib.version But it is on Mac OS, maybe that makes a difference? On 3/21/13 2:19 PM, "Benjamin Root" notifications@github.com wrote:
|
On Thu, Mar 21, 2013 at 10:48 AM, micfe03 notifications@github.com wrote:
|
I have installed via Scipy superpack for Mac os v 10.7.4: https://github.com/fonnesbeck/ScipySuperpack/tags On 3/21/13 3:54 PM, "Benjamin Root" notifications@github.com wrote:
|
From the Superpack README:
Now that we have that mystery solved, I will be closing this bug. |
This issues is still somewhate there: |
Gah! didn't think of that edge case... handling this is gonna get On Wed, Jun 4, 2014 at 4:36 PM, Till Stensitzki notifications@github.com
|
See #3116 |
plot_surface(X, Y, Z, ..)
if you have non-square matrices and Z is transposed (Z.T), you
would expect an error message. However, X and Y become reshaped, such that
The text was updated successfully, but these errors were encountered: