Ticket #9623: 9623-reviewer2.patch

File 9623-reviewer2.patch, 1.4 KB (added by jason, 11 years ago)

apply on top of previous patches

  • sage/interacts/library.py

    # HG changeset patch
    # User Jason Grout <jason.grout@drake.edu>
    # Date 1285685264 18000
    # Node ID ee91ac281310eab90000fd15a85db6c098413ae5
    # Parent  19a5a8d4139c72a9c53daaae2ac55c6ebbbd04e9
    Fixed a typo and changed "<" to "\angle"
    
    diff -r 19a5a8d4139c -r ee91ac281310 sage/interacts/library.py
    a b  
    375375    labels = a_label + b_label + c_label
    376376
    377377    show(unit_circle + triangle + triangle_points + labels, figsize=[5, 5], xmin=-1, xmax=1, ymin=-1, ymax=1)
    378     angl_txt = r"$< A = {%s}^{\circ},$ $< B = {%s}^{\circ},$ $< C = {%s}^{\circ}$" % (
     378    angl_txt = r"$\angle A = {%s}^{\circ},$ $\angle B = {%s}^{\circ},$ $\angle C = {%s}^{\circ}$" % (
    379379            math.degrees(ak[0]),
    380380            math.degrees(ak[1]),
    381381            math.degrees(ak[2])
     
    467467    """
    468468    html('<h2>Cube within a Hemisphere</h2>')
    469469    html('<div style="white-space: normal">A cube is placed within a hemisphere so that the corners ' +\
    470         'of the cube touch the surface of the hemisphere; Observe numerically' + \
     470        'of the cube touch the surface of the hemisphere; Observe numerically ' + \
    471471        'the ratio of the volume of the cube and the volume of the hemisphere.</div>')
    472472    x, y, z = SR.var("x,y,z")
    473473    hemisphere_graph = implicit_plot3d(x**2+y**2+z**2==1, (x, -1, 1), (y, -1, 1), (z, 0, 1), color="green", opacity=0.4)