Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure all functionality is covered by tests #1225

Closed
19 of 88 tasks
mkborregaard opened this issue Nov 6, 2017 · 3 comments
Closed
19 of 88 tasks

Ensure all functionality is covered by tests #1225

mkborregaard opened this issue Nov 6, 2017 · 3 comments

Comments

@mkborregaard
Copy link
Member

mkborregaard commented Nov 6, 2017

We want to make sure that all functionality that's been added to Plots over the last year or so is covered by the test suite. For reference I've posted the most recent version of the News.md file below - we can use the check boxes to mark which are covered in examples (ideally we should note the number of the example too).

0.13.1

  • fix a bug when passing a vector of functions with no bounds (e.g. plot([sin, cos]))
  • export pct and px from Plots.PlotMeasures

0.13.0

  • no longer export w, h and names from Measures.jl; use using Plots.PlotMeasures to get these names back
  • bar_width now depends on the minimum distance between bars, not the mean
  • better automatic x axis limits for plotting Functions
  • tick_direction attribute now allows ticks to be on the inside of the plot border
  • allow plot([]) to generate an empty plot
  • add origin framestyle
  • GR now has line_z and fill_z attributes for determining the color of shapes and lines
  • fix logscale bug error for values < 1e-16 on pyplot
  • fix an issue on pyplot where >1 colorbar would be shown if there was >1 series

0.12.4

  • added a new framestyle argument with choices: :box, :semi, :axes, :grid and :none
  • group now groups keyword arguments of the same length as the input
  • allow passing DateTime objects as ticks
  • allow specifying the number of ticks as an integer
  • better margin with room for text
  • added a match option for linecolor

0.12.3

  • grid is now an axis attribute and a magic argument: it is now possible to modify the grid line style, alpha and line width
  • fix GR colorbar for scatter plots

0.12.1

  • add surface alpha for Plotly(JS)
  • add fillrange to Plotly(JS)

0.11.3

  • support for legend position in GR
  • legendtitle attribute added

0.11.0

  • added a :stephist and :scatterhist series type as well as ``:barhist` (the default)
  • support for log scale axes with histograms
  • support for plotting StatsBase.Histogram
  • allowing bins to be specified as :sturges, :rice, :scott or :fd
  • allow normalization to be specified as :density (for unequal bins) or :pdf (sum to 1)
  • add fill_z attribute for pyplot
  • improved tick positions for TimeType x axes
  • support for improved color gradient capability in PlotUtils
  • add a showlibrary recipe to display color libraries
  • add a showgradient recipe to display color gradients

0.9.5

  • DateTime recipe
  • reset theme with theme(:none)
  • fix plotly lims for log scale

0.9.4

  • histogram2d puts NaN for zeros
  • improved support of NaN in heatmaps
  • consistent aspect_ratio

0.9.1

  • axis = nothing magic
  • fix clim for line_z

0.9.0

  • new axis formatter attribute... accepts functions to convert numbers to strings

0.8.0

  • bar_width support
  • horizontal bars

0.7

  • added contourf seriestype
  • allow plt[1] to return first Subplot
  • allow sp[1] to return the first Series of the Subplot

0.7.3

  • cgrad method for easy color gradient creation
  • link = :square option

0.7.2

  • line_z arg for multicolored line segments
  • curves series type
  • iter_segments iterator

0.7.1

  • inset (floating) subplots
  • new clims attribute
  • bbox h_anchor/v_anchor
  • new axis arg: :link is a list of subplots to link axes with

0.7.0

  • New link_axes functionality

  • Brand new subplot layout mechanics:

  • @layout macro

  • Added series_annotations attribute (previously that functionality was merged with annotations, which are not series-specific)

Version 0.6

0.6.2

  • Support for image display
  • arrow keyword and support for adding arrows to paths

0.6.1

  • rotation keyword

0.6.0

Version 0.5

0.5.4

0.5.3

  • @gif macro with every/when syntax
  • bezier curves and other graph drawing helpers

0.5.2

  • Added GR.jl as a backend (unfinished but functional) All credit to @jheinen
  • Set defaults within backend calls (i.e. gadfly(legend=false))
  • abline!; also extrema allows plotting functions without giving x (i.e. plot(cos, 0, 10); plot!(sin)) @pkofod @joshday
  • Integration with PlotlyJS.jl for using Plotly inside a Blink window @spencerlyon2
  • Overhaul to :legend keyword (see RFC: Add new keyword: colorbar? #135)
  • Support for plotting lists of Tuples and FixedSizeArrays
  • new @animate macro for super simple animations (see Animation interface #111 (comment))
  • allow Function for :fillrange and zcolor arguments (for example: scatter(sin, 0:10, marker=15, fill=(cos,0.4), zcolor=sin))
  • allow vectors of PlotText without x/y coords (for example: scatter(rand(10), m=20, ann=map(text, 1:10)))

0.5.1

0.5.0

  • with function for temporary defaults
  • contours
  • basic 3D plotting
  • stroke and brush for more fine-tuned control over visuals
  • smarter "magic" arguments: line, marker
@mkborregaard
Copy link
Member Author

Whenever someone's got a minute we can run over this list and add ticks where appropriate.

@daschw
Copy link
Member

daschw commented Nov 6, 2017

Awesome! Great idea!

@t-bltg
Copy link
Member

t-bltg commented Nov 24, 2022

We now have around 91% coverage.

@t-bltg t-bltg closed this as completed Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants