RubyData - Latest posts https://discourse.ruby-data.org Latest posts GSoC 2019 Project [ Rubyplot ] discussion The final blog link - https://alishdipani.github.io/gsoc2019/2019/08/22/Wrapping-up-GSoC-2019/

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_94 Mon, 26 Aug 2019 02:02:55 +0000 discourse.ruby-data.org-post-242
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][22 August] tutorial

Planned Progress
Final submission

Progress

Problems

Plan
23 August - Complete the blogs
24 August - Finish the final blog and final submission

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_93 Thu, 22 Aug 2019 23:45:07 +0000 discourse.ruby-data.org-post-241
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][21 August] tutorial

Planned Progress
Final submission

Progress

  • Removed line_opacity option from Line plot and plot function
  • Corrected line_color argument in Line plot
  • Completed the tutorial

Problems

Plans

  • Same as above
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_92 Wed, 21 Aug 2019 23:02:34 +0000 discourse.ruby-data.org-post-240
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][20 August] tutorial

Planned Progress
Final submission

Progress

  • Improved line plot, area plot and histogram
  • Improved tick labels
  • Improved the tutorial

Problems

Plan

  • Same as above
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_91 Tue, 20 Aug 2019 23:20:50 +0000 discourse.ruby-data.org-post-239
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][19 August] tutorial

Planned Progress
Final submission

Progress

  • Implemented minor ticks

Problems

Plan
20 Aug - Improve tick labels, complete tutorial, complete iruby blog
21 Aug - Add ticks to iruby blog, complete multiplots blog
22 Aug - Final blog and submission
23 Aug onwards - Documentation, look into gem installation with GR backend

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_90 Mon, 19 Aug 2019 23:56:46 +0000 discourse.ruby-data.org-post-238
GSoC 2019 Project [ Rubyplot ] discussion The Figures with ticks and the tutorial can be seen here [Link]

The tutorial is hosted on nbviewer as Github might not render the large tutorial

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_89 Mon, 19 Aug 2019 00:04:15 +0000 discourse.ruby-data.org-post-237
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][16, 17, 18 August] tutorial

Planned Progress
Creating a tutorial for Rubyplot in iruby notebook

Progress

  • Updated the tutorial
  • Implemented major ticks

Problems

Plans

  • Complete the tutorial
  • Implement minor ticks
  • Write documentation
  • Complete blogs
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_88 Mon, 19 Aug 2019 00:00:09 +0000 discourse.ruby-data.org-post-236
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][15 August] tutorial

Planned Progress
Creating a tutorial for Rubyplot in iruby notebook

Progress

  • Had the weekly meeting with Sameer
  • Started the tutorial [link]

Meeting details
To-do before the start of final evaluations-

  1. Create the tutorial
  2. Write documentation
  3. Implement ticks
  4. Complete the multi-plots blog and write a blog for iruby integration

To-do during final evaluations -

  1. Write a final blog with summary of GSoC, all blog links and all code, repo and PR links
  2. Do the final submission

Problems

Plans

  • Complete the tutorial
  • Implement ticks
  • Write documentation
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_87 Fri, 16 Aug 2019 01:14:27 +0000 discourse.ruby-data.org-post-235
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][12,13,14 August] iruby

Planned Progress
Integrating iruby with Rubyplot

Progress

  • Integrated Rubyplot with iruby notebook for Magick backend
  • Corrected the bug for changing the properties of canvas after first declaration

Examples

  1. Inline show (called Rubyplot.inline)

  2. Stoped inline (called Rubyplot.stop_inline)
    Screenshot%20from%202019-08-15%2006-25-32

Problems

  • GR backend is not yet integrated as set_backend function gives an error
  • To integrate GR backend and other backends in future, the approach mentioned in the previous update can be used

Plans

  • Complete the blogs
  • Implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_86 Thu, 15 Aug 2019 00:58:59 +0000 discourse.ruby-data.org-post-234
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][10-11 August] iruby

Planned Progress
Integrating iruby with Rubyplot

Progress

  • Looked into nyaplot code

Problems

  • Nyaplot uses image embedded in HMTL code to display on iruby notebook, it only uses show function to show images in iruby notebook and not independently i.e. no pop-up windows
  • To make the iruby integration consistent across backends and easily scalable, the function should not depend on the backends i.e. no specific properties of Magick or GR should be used
  • I think the best way to go for this is to store a temporary image using write function and then load the image and display it in iruby notebook

Plans

  • Complete the integration
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_85 Mon, 12 Aug 2019 00:22:46 +0000 discourse.ruby-data.org-post-233
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][9 August] iruby

Planned Progress
Integrating iruby with Rubyplot

Progress

  • Looked into the nyaplot code

Problems

Plans

  • Complete the iruby integration over the weekend
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_84 Sat, 10 Aug 2019 00:03:56 +0000 discourse.ruby-data.org-post-232
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][8 August] iruby

Planned Progress
Integrating iruby with Rubyplot

Progress

  • Had the weekly meeting with Sameer.
  • Looked into building Rubyplot as gem, built it
  • Tested Rubyplot in irb and iruby notebook

Problems

  • During building the gem, there were some warnings
  • Rubyplot.set_backend is needed to be called to set the backend i.e. no default? (maybe because of next problem)
  • While setting GR backend using the command above there is an error NameError (uninitialized constant Rubyplot::Backend::GRWrapper)

Meeting details

  • Updated Sameer about the progress
  • Discussed things to be completed before final evaluation i.e. iruby integration, tutorials and ticks
  • Writing a blog on iruby integration while trying to generalize the method for integration for future users.
  • Useful links:
  1. https://github.com/mrkn/matplotlib.rb/blob/master/lib/matplotlib/iruby.rb
  2. https://github.com/domitry/nyaplot
  3. https://github.com/domitry/nyaplot/blob/master/lib/nyaplot/templates/iruby.erb
  4. https://github.com/domitry/nyaplot/blob/master/lib/nyaplot/plot.rb#L83

Plans

  • Look into the error for GR
  • Look into integration of show function with iruby notebook
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_83 Thu, 08 Aug 2019 23:08:55 +0000 discourse.ruby-data.org-post-231
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][7 August] iruby

Planned Progress
Integrating iruby with Rubyplot

Progress

  • Completed setting up Rubyplot
  • Installed and tested out iruby notebooks
  • added a new method print_on_device to avoid code duplication in write and show

Problems

  • To include Rubyplot, should it be installed as a gem?

Plan

  • integrate iruby with rubyplot
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_82 Thu, 08 Aug 2019 00:09:30 +0000 discourse.ruby-data.org-post-230
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][6 August] iruby

Planned Progress
Integrating iruby with Rubyplot

Progress
Tried to set up Rubyplot on my laptop but rmagick installation is giving some errors

Problems
I will find a solution for the errors and will continue the work

  • rmagick installation was having errors
  • Ruby was not working correctly due to presence of multiple versions

Plan

  • Set up Rubyplot
  • Work as planned
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=5#post_81 Wed, 07 Aug 2019 21:11:45 +0000 discourse.ruby-data.org-post-229
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][5 August] iruby

Planned Progress
Integrating iruby with Rubyplot

Progress
Tried to set up Rubyplot on my laptop but rmagick installation is giving some errors

Problems
I will find a solution for the errors and will continue the work

Plan

  • Set up Rubyplot
  • Work as planned
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_80 Mon, 05 Aug 2019 23:04:12 +0000 discourse.ruby-data.org-post-228
GSoC 2019 Project [ Rubyplot ] discussion I will be unavailable to work from 30th July to 3-4 August due to packing, traveling and shifting to France for my bachelor’s thesis.
I had already included this in my timeline and hence my project won’t be affected.
Sorry for the inconvenience and I will cover up by working extra in the coming weeks.
@v0dro

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_79 Tue, 30 Jul 2019 01:34:02 +0000 discourse.ruby-data.org-post-227
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][29 July] iruby

Planned progress

Progress
Looked into iruby notebboks codebase

Problems

Plans

  • Integrate Rubyplot with iruby notebooks
  • Complete the remaining blog
  • Make a list of polts
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_78 Tue, 30 Jul 2019 01:31:20 +0000 discourse.ruby-data.org-post-226
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][27 July] Plot

Planned progress
Writing plot function tests

Progress

Problems

Plans

  • Write tests for fmt argument of the plot function
  • Complete the multi plots blog
  • Look into iruby notebooks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_77 Sun, 28 Jul 2019 19:22:06 +0000 discourse.ruby-data.org-post-225
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][22 - 26 July] 2nd phase Evaluation

Worked on Code review and the blogs

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_76 Sun, 28 Jul 2019 19:19:19 +0000 discourse.ruby-data.org-post-224
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][20 July] Plot

Planned progress
Working on Plot function

Progress

  • worked on blogs

Problems

Plans

  • Complete the blogs
  • Create a list of plots
  • Implement remaining marker and line types
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_75 Sun, 21 Jul 2019 01:13:26 +0000 discourse.ruby-data.org-post-223
GSoC 2019 Project [ Rubyplot ] discussion @v0dro Some of the marker types of matplotlib differ from Rubyplot and hence these are the characters assigned for each marker type, colour and line type:

COLOR_TYPES_FMT = {
          'b' => :blue,
          'g' => :green,
          'r' => :red,
          'c' => :cyan,
          'm' => :magenta,
          'y' => :yellow,
          'k' => :black,
          'w' => :white
    }.freeze

    MARKER_TYPES_FMT = {
      '.' => :dot,
      ',' => :omark,
      'o' => :circle,
      'v' => :traingle_down,
      '^' => :traingle_up,
      '<' => :solid_tri_left,
      '>' => :solid_tri_right,
      '1' => :solid_triangle_down,
      '2' => :solid_triangle_up,
      '3' => :solid_tri_left,
      '4' => :solid_tri_right,
      's' => :square,
      'p' => :pentagon,
      '*' => :star,
      'h' => :hexagon,
      'H' => :heptagon,
      '+' => :plus,
      'x' => :diagonal_cross,
      'D' => :solid_diamond,
      'd' => :diamond,
      '|' => :vline,
      '_' => :hline
    }

    LINE_TYPES_FMT ={
      '--' => :dashed,
      '-.' => :dashed_dotted,
      '-' => :solid,
      ':' => :dotted
    }
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_74 Sat, 20 Jul 2019 01:23:24 +0000 discourse.ruby-data.org-post-222
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][19 July] Plot

Planned progress
Working on Plot function

Progress

  • Finished implementing the frontend for the plot function
  • Had a weekly meeting with @v0dro

Problems

Meeting summary
To-do list before 2nd evaluation starts:

  • Implement the plot function frontend (done)
  • Create a list of plots
  • Complete the blogs
  • Implement the remaining marker and line types, as many as possible

Plans

  • Complete the blogs
  • Create a list of plots
  • Implement remaining marker and line types
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_73 Sat, 20 Jul 2019 01:18:38 +0000 discourse.ruby-data.org-post-221
GSoC 2019 Project [ Rubyplot ] discussion Marker type symbols:

dot .
plus +
asterisk *
circle O
diagonal_cross x
solid_circle sO
triangle_up ^
solid_triangle_up s^
triangle_down v
solid_triangle_down sv
square q
solid_square sq
bowtie b
solid_bowtie sb
hglass h
solid_hglass sh
diamond d
solid_diamond sd
star s
solid_star ss
tri_up_down ^v
solid_tri_right s>
solid_tri_left s<
hollow_plus h+
solid_plus s+
pentagon p
hexagon hx
heptagon hp
octagon oc
star_4 s4
star_5 s5
star_6 s6
star_7 s7
star_8 s8
vline |
hline _
omark o

Line type symbols:
solid -
dashed –
dotted -.
dashed_dotted --.
dash_2_dot -…
dash_3_dot -…
long_dash —
long_short_dash
spaced_dash -
-
spaced_dot ._.
double_dot …
triple_dot …

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_72 Fri, 19 Jul 2019 11:19:34 +0000 discourse.ruby-data.org-post-220
GSoC 2019 Project [ Rubyplot ] discussion I was not able to work yesterday (16 July) as I had to make arrangements for my visa appointment (I have been called again for it). I will be having my visa appointment tomorrow(18 July) and hence won’t be able to work today and tomorrow due to traveling. However, I will try to complete the blogs during my travel.
Sorry for the inconvenience @v0dro

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_71 Wed, 17 Jul 2019 10:15:45 +0000 discourse.ruby-data.org-post-219
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][15 July] Plot

Planned progress
Working on Plot function

Progress

  • Worked on format of fmt argument
  • Added error handling of large figures for magick backend

Problems

Plans

  • Complete blogs(Will be done by Wednesday)
  • work on plot function
  • Implement remaining marker and line types
  • Create a list of plots
  • Implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_70 Tue, 16 Jul 2019 02:00:33 +0000 discourse.ruby-data.org-post-218
GSoC 2019 Project [ Rubyplot ] discussion
v0dro:

Yes. Use initialization for now.

sure

gets doesn’t work, it waits for some time (I think this is GR default) and then gives this error:
Failures:

  1. Rubyplot::Axes b: #Rubyplot::Backend::GRWrapper:0x00005572753e6150. #plot! plots a simple plot with plus marker of green color
    Failure/Error: hold = gets

    Errno::ENOENT:
    No such file or directory @ rb_sysopen - --t=focus
    /# ./lib/rubyplot/backend/gr_wrapper.rb:350:in ‘gets’
    /# ./lib/rubyplot/backend/gr_wrapper.rb:350:in ‘gets’
    /# ./lib/rubyplot/backend/gr_wrapper.rb:350:in ‘stop_output_device’
    /# ./lib/rubyplot/artist/figure.rb:116:in ‘show’
    /# ./spec/axes_spec.rb:118:in ‘block (3 levels) in <top (required)>’

I will make the necessary changes.

I’ll figure a way for this

okay

Yes, they’ll be done by Wednesday EOD

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_69 Tue, 16 Jul 2019 01:13:41 +0000 discourse.ruby-data.org-post-217
GSoC 2019 Project [ Rubyplot ] discussion
AlishDipani:

Suppose I call the write/show function and then add a plot in a subplot without initializing, it doesn’t work. But if it is initialized again, it works. So, it is necessary to initialize again after calling the write/show function.
The same thing happens with matplotlib, initialization is necessary. @v0dro

Yes. Use initialization for now.

Hmmm I’m not too familiar with this part of the GR backend. However I do remember that Pranav had tried to do something similar with GR. Here’s the script that he made: https://github.com/pgtgrly/GRruby-extension/blob/master/examples/GRFramework/Example.rb#L54

I haven’t used this script in a long time but as far as I remember, it does work.

Yes. This should depend on the format string provided by the user.

I’d prefer both. Ruby symbols with full names or strings with shortcuts like in Python.

Just throw an error.

Also, finish the blogs faster.

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_68 Mon, 15 Jul 2019 01:26:38 +0000 discourse.ruby-data.org-post-216
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][13 July] Plot

Planned progress
Working on the plot function

Progress

  • Looked into the plot function frontend
  • Corrected the tests for plot function, changed the unit of the input of sin and cosine from radians to degrees

Problems

  • The backend of the plot function uses Line2D(draw_lines) and draw_markers which are already implemented for Magick except for the line types and some marker types.
  • The plot function currently either plots lines or markers, but ideally, it should do both (if specified)
  • For the format of fmt argument, the string format should be decided, options are keeping it short like matplotlib or having full strings
  • There should be different options for marker_fill_color and marker_border_color and line colour
  • Magick backend can not plot a figure having size 400 cms

Plans

  • Complete the blogs
  • Create a list of plots
  • Implement remaining marker and line types
  • Work on Plot
  • Implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_67 Sun, 14 Jul 2019 01:54:56 +0000 discourse.ruby-data.org-post-215
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][12 July] Show

Planned progress
Documentation for show function

Progress

  • Had the weekly meeting with @v0dro
  • Improved the show function
  • Tested with different combinations of the show and write and changing the plots in between

Problems

  • Suppose I call the write/show function and then add a plot in a subplot without initializing, it doesn’t work. But if it is initialized again, it works. So, it is necessary to initialize again after calling the write/show function.
    The same thing happens with matplotlib, initialization is necessary. @v0dro
  • GR backend does not wait at the show function, suppose I call it two times, it shows the first time for a very short amount of time and then the second one for longer, is there any way to stop it at a show function and allow the user to keep it displaying for however long the user wants and then when a command is given then the code is executed further, @v0dro could you help me with this?

Meeting summary
Summary and To-do list:

  • Discussed optimizing the show function without having to save the is_initialized state variable
  • Discussed the device argument

Plans

  • complete the blogs
  • Create a list of plots
  • implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_66 Sat, 13 Jul 2019 01:18:44 +0000 discourse.ruby-data.org-post-214
GSoC 2019 Project [ Rubyplot ] discussion I couldn’t work on 10th and 11th July due to my visa application and appointment.

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_65 Sat, 13 Jul 2019 00:58:24 +0000 discourse.ruby-data.org-post-213
GSoC 2019 Project [ Rubyplot ] discussion
v0dro:

Did you try using a variable to indicate change of state as we had discussed over the call?

Yes, I did try it but it had some issues related to calling the init_output_device and stop_output_device functions. I will explain the issues in more detail in today’s call.

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_64 Fri, 12 Jul 2019 06:11:50 +0000 discourse.ruby-data.org-post-212
GSoC 2019 Project [ Rubyplot ] discussion
AlishDipani:

If after calling show on a figure, a plot is added to a subplot and then write is called then the figure is not as expected. This happens for both the backends(similar incorrect figure is drawn)

Did you try using a variable to indicate change of state as we had discussed over the call?

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_63 Fri, 12 Jul 2019 01:11:48 +0000 discourse.ruby-data.org-post-211
GSoC 2019 Project [ Rubyplot ] discussion I have booked my visa appointment and I need to travel to Bombay for it and hence I will not be able to work on 11th, 12th and 13th. I will cover for this by working extra after returning.

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_62 Wed, 10 Jul 2019 03:35:19 +0000 discourse.ruby-data.org-post-210
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][9 July] Show

Planned progress
Implement show function for GR

Progress

  • Implemented a basic show function for GR backend

Problems

  • If after calling show on a figure, a plot is added to a subplot and then write is called then the figure is not as expected. This happens for both the backends(similar incorrect figure is drawn)
  • the device argument is always kept as a file, which indicates saving the figure. Another option is window which is for displaying the figure. This argument can be removed, I will look into this soon.

Plans

  • solve the bug for consecutive show and write calling
  • complete the blogs
  • Create a list of plots
  • implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=4#post_61 Wed, 10 Jul 2019 03:34:14 +0000 discourse.ruby-data.org-post-209
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][8 July] Show

Planned progress
Implement show function for GR

Progress

  • Focussing on Magick backend and leaving GR backend for now
  • Implemented the show function for Magick backend

Problems

  • The show function is not optimized, I tried optimization by not initialization the figure again but there were some errors which couldn’t be resolved. I will try to resolve the error or find another way for optimization

Plans

  • Optimize the show function
  • Complete the blogs
  • Create a list of plots
  • Implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_60 Tue, 09 Jul 2019 02:08:27 +0000 discourse.ruby-data.org-post-208
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][6 July] Saturday

Planned progress
Checking subplots

Progress

  • worked on ticks

Problems

Plans

  • Improve ticks
  • Write blogs
  • Create a list of plots
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_59 Sun, 07 Jul 2019 00:26:07 +0000 discourse.ruby-data.org-post-207
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][5 July] Library review

Planned progress
Checking subplots

Progress

  • Had the weekly meeting with @v0dro
  • Passed the tests for subplots, the outputs:
    GR:

Magick:


  • Added the default value for marker_fill_color for scatter plot in the frontend
  • Added the flag for square axes in the axes frontend
  • Implemented square axes for Magick backend
  • Increased the line width for axes for Magick backend so that it looks better (set the width to 5 pixels)
  • Corrected the spacing ratio function for the bar plot
  • Improved plots for Magick backend, the axes are now plotted above the figures

Problems

  • GR backend lacks the square axes

Meeting summary
To-do list:

  1. Complete the blogs
  2. Implement ticks
  3. Write documentation
  4. Check subplots (done)
  5. Submit a proposal for RubyConf USA
  6. Increase the line width for axes in Magick backend (done)
  7. Draw axes above the figures (done)
  8. Implement rectangular axes (done)
  9. Improve the testing script so that tests for both backends are done in one go
  10. Erase the figures which are out of bounds for Magick backend
  11. Look into legend box for all the multi plots
  12. Take x values as inputs for all the multi plots
  13. Look into spacing for candle stick plot (done) -> @v0dro the spacing is there but it is not that visible if the figure is too big
  14. Create optimized show function such that if write is called just after it then the plotting should not be done again.

Plans

  • Complete blogs
  • Create a list of plots
  • Implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_58 Sat, 06 Jul 2019 01:10:00 +0000 discourse.ruby-data.org-post-206
GSoC 2019 Project [ Rubyplot ] discussion The bubble plot images

GR:

Magick:

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_57 Fri, 05 Jul 2019 10:50:08 +0000 discourse.ruby-data.org-post-205
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][4 July] Ticks

Planned progress
Implement grouped box plot

Progress

  • Looked into the working of ticks

Problems

  • GR backend does not use the input properties and creates ticks in its own way, will discuss this in weekly meeting with @v0dro

Plans

  • Complete blogs
  • Implement ticks
  • Create a list of plots
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_56 Fri, 05 Jul 2019 00:28:15 +0000 discourse.ruby-data.org-post-204
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][3 July] Multi plots

Planned progress
Implement grouped box plot

Progress

  • Since the front end of grouped box plot is not implemented, leaving it for now and focusing on other plots

  • Passed tests for stacked and multi stacked bar plot, outputs:


  • Corrected the y inversion of subplots for Magick backend

  • Added opacity as 0.5 to bubble plot by using drawing circles instead of markers, had to change the front end of bubble plot

  • Changed front end of Circle object to replace border_opacity with fill_opacity

  • Introduced a nominal factor for draw_circle in Magick backend to match the sizes of GR backend

Problems

  • Stacked bar plot lacks legend box
  • GR backend does not implement opacity for draw_circle function

Plans

  • Complete blogs
  • Implement ticks
  • Make a list of plots with examples and problems in them
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_55 Thu, 04 Jul 2019 01:09:54 +0000 discourse.ruby-data.org-post-203
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][2 July] Multi plots

Planned progress
Check multi stacked bar plot

Progress

  • Checked and passed tests for multi box plot, outputs:
    boxplot3
    boxplot4
  • Corrected multi candle stick plot, the bug was that it was plotting one candle stick less
  • Checked and passed tests for multi candle stick plot, output:
    candlestick2

Problems

  • Both candle stick and box plot lack legend box
  • Single box plot, candle stick plot, etc. utilise multi plots and hence I will include this in the blog as well, due to which the blog will take some time
  • Both candle stick plot and box plot do not take x values as inputs, but matplotlib has the necessary condition of giving x values as input, should this be incorporated here as well? @v0dro
  • I had not checked stacked bar plot earlier, and hence will check that first and then move to multi stacked bar plot

Plans

  • Work on blogs
  • Check stacked bar plot and multi stacked bar plot
  • Implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_54 Wed, 03 Jul 2019 02:38:19 +0000 discourse.ruby-data.org-post-202
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][1 July] Issues

Planned progress
check multi candle stick plot

Progress

Problems

  • Could not work today due to some personal issues and visa application

Plans

  • Complete the remaining work
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_53 Tue, 02 Jul 2019 02:56:09 +0000 discourse.ruby-data.org-post-201
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][30 June] Sunday

Planned progress
Check multi box plot

Progress

  • Worked on blogs

Problems

  • Will check the multi box plot in addition to next day’s work.

Plans

  • Complete the blogs
  • Implement ticks
  • Check multi box plot
  • Check multi candle-stick plot
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_52 Mon, 01 Jul 2019 01:23:54 +0000 discourse.ruby-data.org-post-200
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][29 June] Starting multiple plots

Planned progress
Check multi bar plot

Progress

  • Worked on blog
  • Wrote an experimental test for multi bar plot and the output is correct
    data given =
[["Data1", [4, 7, 12], :blue],
 ["Data2", [2, 6, 10], :yellow],
 ["Data3", [3, 8, 11], :red],
 ["Data4", [1, 5, 9], :black]]

Output for GR backend:

Output for Magick backend:

  • Corrected the function for the input of spacing_ratio in bar plot

Problems

  • I will complete the blog in 1-2 days
  • What is the purpose of the stacked_bar plot? is it different than a simple bar plot? @v0dro
  • I saw that there is a test for dot plot but there is no such plot, should dot plot be added? @v0dro
  • Matplotlib allows the user to set the x coordinates, whereas in Rubyplot it is decided by us, should there be an option to take the x values as an input? @v0dro
  • Bar plot does not create legend box (or it is not visible)

Plans

  • Complete the blogs
  • Implement ticks
  • Check multi box plot
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_51 Sun, 30 Jun 2019 01:47:30 +0000 discourse.ruby-data.org-post-199
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][28 June] Evaluation

Planned progress
Complete Evaluation

Progress

Problems

  • I will apply for my visa soon and the appointment for it will be on Tuesday or Wednesday and hence I will be unavailable to work for 2-3 days during that time.

Plans

  • Complete the blogs
  • Implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_50 Sat, 29 Jun 2019 01:53:41 +0000 discourse.ruby-data.org-post-198
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][27 June] Evaluation

Planned progress
Complete Evaluation

Progress

  • Worked on the blogs

Problems

Plans

  • Complete the blogs
  • Implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_49 Fri, 28 Jun 2019 01:07:40 +0000 discourse.ruby-data.org-post-197
GSoC 2019 Project [ Rubyplot ] discussion
v0dro:

Here’s some more feedback regarding the blog post:

As an example, in the Setting Output Device part of the post, you’ve a detailed explanation of the function of each within the method init_output_device . But what is missing here is the ‘purpose’ of each line. I can see that you’re creating three Magick::Draw objects. But WHY create three objects? What were the underlying design decisions that lead to creation of three objects instead of just one? These things are much more interesting to someone reading your post to get a technical overview. They also serve as guidelines later when a developer is wondering about the purpose of the code.

Another example is that we do not use the MATLAB notation for creating subplots (which is used by matplotlib). Would be great if you can write the reasons for that too.

Also explain why you do the text rotation in Magick the way you do.
Please make such updates to your post before moving on to the next one.

@v0dro I am creating another blog for this which explains the code and the purpose of the functions and the design decisions as well. Link: https://alishdipani.github.io/gsoc2019/2019/06/12/Setting-up-the-ImageMagick-backend/

I will complete this blog and the blog for plots hopefully by Saturday EOD

]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_48 Fri, 28 Jun 2019 01:06:23 +0000 discourse.ruby-data.org-post-196
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][26 June] Evaluation

Planned progress
Complete Evaluation

Progress

  • Completed code review
  • decided on the format and what all is to be included in the next blog

Problems

  • User guide for installation of Magick backend is not present.

Plans

  • Complete the blogs
  • Implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_47 Thu, 27 Jun 2019 02:15:44 +0000 discourse.ruby-data.org-post-195
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][25 June] Evaluation

Planned progress
Complete Evaluation

Progress

  • Working on Code review

Problems

Plans

  • Complete the blogs
  • Implement ticks
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_46 Wed, 26 Jun 2019 09:22:29 +0000 discourse.ruby-data.org-post-194
GSoC 2019 Project [ Rubyplot ] discussion [RUBYPLOT-GSOC][DAILY][24 June] Evaluation

Planned progress
Working on Violin plot

Progress

  • Not working on Violin plot for now as the frontend is not implemented
  • Improved The scatter plot example blog
  • Corrected the Line plot Frontend

Problems

Plans

  • Working on Blogs
  • Completing the remaining work
]]>
https://discourse.ruby-data.org/t/gsoc-2019-project-rubyplot-discussion/57?page=3#post_45 Tue, 25 Jun 2019 00:18:09 +0000 discourse.ruby-data.org-post-193