Skip to content

Commit bcb3b55

Browse files
committed
partial fix for ievgrafov#34
1 parent e91abf8 commit bcb3b55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/gnuplotrb/plot.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,11 @@ def provide_with_datetime_format(data, using)
206206
return unless data.is_a?(Daru::DataFrame) || data.is_a?(Daru::Vector)
207207
return unless data.index.first.is_a?(DateTime)
208208
return if using[0..1] != '1:'
209-
@options = @options.merge(
209+
@options = Hamster::Hash.new(
210210
xdata: 'time',
211211
timefmt: '%Y-%m-%dT%H:%M:%S',
212212
format_x: '%d\n%b\n%Y'
213-
)
213+
).merge(@options)
214214
end
215215

216216
##

0 commit comments

Comments
 (0)