#13625: matrix_plot and title don't mix well (yet)
------------------------------------------------------------------+---------
Reporter: kcrisman |
Owner: jason, was
Type: defect |
Status: needs_review
Priority: major |
Milestone: sage-5.5
Component: graphics |
Resolution:
Keywords: | Work
issues:
Report Upstream: Reported upstream. Developers acknowledge bug. |
Reviewers: Karl-Dieter Crisman
Authors: Punarbasu Purkayastha | Merged
in:
Dependencies: |
Stopgaps:
------------------------------------------------------------------+---------
Description changed by kcrisman:
Old description:
> See [http://ask.sagemath.org/question/1888/put-title-on-matrix_plot this
> ask.sagemath.org question], where elcojon gives this example.
> {{{
> piclabels = ('width [px]','height [px]')
> import scipy
> data = scipy.lena()
> matrix_plot(data,axes_labels=piclabels, title='Lena image')
> }}}
> [[Image(Lena-wrongtitle.png)]]
>
> This is fallout from the great ''new'' functionality in #10512. The
> `axes_labels` are irrelevant to whether this happens.
>
> ----
>
> Reported upstream at
> [https://github.com/matplotlib/matplotlib/issues/1415 1415].
>
> ----
> Patch to workaround this issue while upstream decides how best to fix
> this bug.
> Apply in this order to `devel/sage`:
> 1. [attachment:trac_13625-new_option_title_pos.patch]
> 2. [attachment:trac_13625-add_title_pos_to_matrix_plot.patch]
New description:
See [http://ask.sagemath.org/question/1888/put-title-on-matrix_plot this
ask.sagemath.org question], where elcojon gives this example.
{{{
piclabels = ('width [px]','height [px]')
import scipy
data = scipy.lena()
matrix_plot(data,axes_labels=piclabels, title='Lena image')
}}}
[[Image(Lena-wrongtitle.png)]]
(Note that this doesn't work literally in Sage 5.4.1 - the new Scipy in
#13541 seems to have moved this to `scipy.misc.lena()`.)
This is fallout from the great ''new'' functionality in #10512. The
`axes_labels` are irrelevant to whether this happens.
----
Reported upstream at [https://github.com/matplotlib/matplotlib/issues/1415
1415].
----
Patch to workaround this issue while upstream decides how best to fix this
bug.
Apply in this order to `devel/sage`:
1. [attachment:trac_13625-new_option_title_pos.patch]
2. [attachment:trac_13625-add_title_pos_to_matrix_plot.patch]
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13625#comment:20>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.