mirror of
				https://github.com/red-data-tools/YouPlot.git
				synced 2025-11-04 03:28:10 +08:00 
			
		
		
		
	Rubocop auto correct
This commit is contained in:
		@@ -1,5 +1,6 @@
 | 
			
		||||
require 'optparse'
 | 
			
		||||
require_relative 'preprocessing'
 | 
			
		||||
require_relative 'command/params'
 | 
			
		||||
 | 
			
		||||
module Uplot
 | 
			
		||||
  Data = Struct.new(:headers, :series)
 | 
			
		||||
@@ -225,7 +226,7 @@ module Uplot
 | 
			
		||||
 | 
			
		||||
    def run
 | 
			
		||||
      parse_options
 | 
			
		||||
      
 | 
			
		||||
 | 
			
		||||
      if command == :colors
 | 
			
		||||
        Plot.colors
 | 
			
		||||
        exit
 | 
			
		||||
 
 | 
			
		||||
@@ -124,15 +124,15 @@ module Uplot
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    def colors
 | 
			
		||||
        UnicodePlot::StyledPrinter::TEXT_COLORS.each do |k,v|
 | 
			
		||||
          print v
 | 
			
		||||
          print k
 | 
			
		||||
          print "\t"
 | 
			
		||||
          print "  ●"
 | 
			
		||||
          print "\033[0m"
 | 
			
		||||
          print "\t"
 | 
			
		||||
        end
 | 
			
		||||
        puts
 | 
			
		||||
      UnicodePlot::StyledPrinter::TEXT_COLORS.each do |k, v|
 | 
			
		||||
        print v
 | 
			
		||||
        print k
 | 
			
		||||
        print "\t"
 | 
			
		||||
        print '  ●'
 | 
			
		||||
        print "\033[0m"
 | 
			
		||||
        print "\t"
 | 
			
		||||
      end
 | 
			
		||||
      puts
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    def check_series_size(data, fmt)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user