Ticket #10847: trac_10847-4983-fix.patch

File trac_10847-4983-fix.patch, 808 bytes (added by jhpalmieri, 8 years ago)

apply on top of other patches

  • sage/plot/matrix_plot.py

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1300839294 25200
    # Node ID 92ea5e758cd462905fd3d7a74f9cc732e955f6f2
    # Parent  47c537bedafed3ed865858776293c8a086166eb9
    #10487: fix to make this compatible with trac 4983
    
    diff -r 47c537bedafe -r 92ea5e758cd4 sage/plot/matrix_plot.py
    a b def matrix_plot(mat, **options): 
    431431    yrange = (0, xy_data_array.shape[0])
    432432
    433433    if options['subdivisions'] and options['subdivision_options']['boundaries'] is None:
    434         options['subdivision_options']['boundaries']=orig_mat.subdivisions
     434        options['subdivision_options']['boundaries']=orig_mat.get_subdivisions()
    435435
    436436    g = Graphics()
    437437    g._set_extra_kwds(Graphics._extract_kwds_for_show(options))