#15315: aspect ratio ignored in matrix and density plots
-------------------------------------------------+-------------------------
Reporter: kcrisman | Owner:
Type: defect | Status:
Priority: major | needs_review
Component: graphics | Milestone: sage-5.13
Keywords: matplotlib imshow density | Resolution:
plot | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Changes (by ppurka):
* status: new => needs_review
Old description:
> This is due to improper use of `imshow`, I think. This was reported at
> [http://ask.sagemath.org/question/3115/density-plot-aspect-ratio this
> ask.sagemath question]. See [http://stackoverflow.com/questions/13384653
> /imshow-extent-and-aspect these]
> [http://stackoverflow.com/questions/10540929/figure-of-imshow-is-too-
> small stackoverflow] [http://stackoverflow.com/questions/7965743/python-
> matplotlib-setting-aspect-ratio/7969475#7969475 questions] for various
> approaches to setting this. Essentially, we may need to have some custom
> way to pass on fig size and aspect ratio to matrix and density plots
> (which use imshow).
New description:
This is due to improper use of `imshow`, I think. This was reported at
[http://ask.sagemath.org/question/3115/density-plot-aspect-ratio this
ask.sagemath question]. See [http://stackoverflow.com/questions/13384653
/imshow-extent-and-aspect these]
[http://stackoverflow.com/questions/10540929/figure-of-imshow-is-too-small
stackoverflow] [http://stackoverflow.com/questions/7965743/python-
matplotlib-setting-aspect-ratio/7969475#7969475 questions] for various
approaches to setting this. Essentially, we may need to have some custom
way to pass on fig size and aspect ratio to matrix and density plots
(which use imshow).
----
Attached patch should fix aspect ratio:
[attachment:trac_15315-density_and_matrix_plot_aspect_ratio.patch]
--
--
Ticket URL: <http://trac.sagemath.org/ticket/15315#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.